Add warning when using Windows config.

This commit is contained in:
Deukhoofd 2019-12-28 12:16:12 +01:00
parent fa81bd59d6
commit 4c9f5b12fa
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ if (NOT DEFINED CONAN_EXPORTED)
endif () endif ()
if (WINDOWS) if (WINDOWS)
MESSAGE(WARNING, "Using Windows Build.")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -Wa,-mbig-obj -Wl,-allow-multiple-definition") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -Wa,-mbig-obj -Wl,-allow-multiple-definition")
# Statically link libraries we need in Windows. # Statically link libraries we need in Windows.
target_link_libraries(CreatureLibCore -static -static-libgcc -static-libstdc++) target_link_libraries(CreatureLibCore -static -static-libgcc -static-libstdc++)