Fix broken build of the project when BUILD_SHARED_LIBS=1

This commit is contained in:
Stinkfist0
2016-05-30 13:54:24 +03:00
parent cae24a9492
commit 90a2c445ea
12 changed files with 876 additions and 846 deletions
+2
View File
@@ -64,6 +64,8 @@ if (BUILD_SHARED_LIBS)
add_definitions(-DBUILD_SHARED_LIBS)
if (MSVC)
message(WARNING "Building DLLs against the static VC run-time. This is not recommended if the DLLs are to be redistributed.")
# There will be couple hundreds of these so suppress them away.
add_definitions(-wd4251)
endif()
endif()