Add warning when using Windows config.
This commit is contained in:
parent
fa81bd59d6
commit
4c9f5b12fa
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue