From 82338cd575b801d7ccb5027c325561d436044e0d Mon Sep 17 00:00:00 2001 From: Duncan Ogilvie Date: Wed, 31 Mar 2021 21:17:20 +0200 Subject: [PATCH] Fix compilation on Ubuntu --- src/cmkrlib/cmake.cpp | 4 ++++ src/cmkrlib/cmake.hpp | 6 +----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cmkrlib/cmake.cpp b/src/cmkrlib/cmake.cpp index 8c4e3f8..80842e8 100644 --- a/src/cmkrlib/cmake.cpp +++ b/src/cmkrlib/cmake.cpp @@ -1,10 +1,14 @@ #include "cmake.hpp" +#include "enum_helper.hpp" #include "fs.hpp" #include #include #include +template <> +const char *enumStrings::data[] = {"executable", "library", "shared", "static", "internface", "custom"}; + namespace cmkr { namespace cmake { diff --git a/src/cmkrlib/cmake.hpp b/src/cmkrlib/cmake.hpp index 1f9a46b..5d7d967 100644 --- a/src/cmkrlib/cmake.hpp +++ b/src/cmkrlib/cmake.hpp @@ -1,6 +1,5 @@ #pragma once -#include "enum_helper.hpp" #include #include #include @@ -110,7 +109,4 @@ struct CMake { }; } // namespace cmake -} // namespace cmkr - -template <> -const char *enumStrings::data[] = {"executable", "library", "shared", "static", "internface", "custom"}; \ No newline at end of file +} // namespace cmkr \ No newline at end of file