diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 8d2112c..95958aa 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -10,6 +10,7 @@ if(NOT EXISTS "${phnt_DIR}/phnt.h") endif() # Default to a Release build +get_property(GENERATOR_IS_MULTI_CONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) if(GENERATOR_IS_MULTI_CONFIG) set(CMAKE_CONFIGURATION_TYPES "Release" CACHE STRING "") elseif(NOT DEFINED CACHE{CMAKE_BUILD_TYPE}) diff --git a/test/driver.cpp b/test/driver.cpp index fb68f19..d50f5a8 100644 --- a/test/driver.cpp +++ b/test/driver.cpp @@ -8,6 +8,7 @@ extern "C" #include #include #include +#include } #define PHNT_VERSION PHNT_WIN11