Fix compilation on Ubuntu

vcpkg-wip
Duncan Ogilvie 4 years ago
parent f2dbd1fcb8
commit 82338cd575

@ -1,10 +1,14 @@
#include "cmake.hpp" #include "cmake.hpp"
#include "enum_helper.hpp"
#include "fs.hpp" #include "fs.hpp"
#include <stdexcept> #include <stdexcept>
#include <toml.hpp> #include <toml.hpp>
#include <tsl/ordered_map.h> #include <tsl/ordered_map.h>
template <>
const char *enumStrings<cmkr::cmake::TargetType>::data[] = {"executable", "library", "shared", "static", "internface", "custom"};
namespace cmkr { namespace cmkr {
namespace cmake { namespace cmake {

@ -1,6 +1,5 @@
#pragma once #pragma once
#include "enum_helper.hpp"
#include <map> #include <map>
#include <mpark/variant.hpp> #include <mpark/variant.hpp>
#include <stdexcept> #include <stdexcept>
@ -110,7 +109,4 @@ struct CMake {
}; };
} // namespace cmake } // namespace cmake
} // namespace cmkr } // namespace cmkr
template <>
const char *enumStrings<cmkr::cmake::TargetType>::data[] = {"executable", "library", "shared", "static", "internface", "custom"};
Loading…
Cancel
Save