From 4c9f5b12fa07b78e6f518c7b04418a829913b6c7 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 28 Dec 2019 12:16:12 +0100 Subject: [PATCH] Add warning when using Windows config. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 750c3d6..66270a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,6 +43,7 @@ if (NOT DEFINED CONAN_EXPORTED) endif () if (WINDOWS) + MESSAGE(WARNING, "Using Windows Build.") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -Wa,-mbig-obj -Wl,-allow-multiple-definition") # Statically link libraries we need in Windows. target_link_libraries(CreatureLibCore -static -static-libgcc -static-libstdc++)