Fix compilation on Ubuntu

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

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

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