CMake: Ignore paranoid MSVC linker warnings

This commit is contained in:
2016-02-20 12:45:29 +05:00
parent ac5e989d4a
commit f1088bd9e1
2 changed files with 7 additions and 0 deletions

View File

@@ -51,6 +51,9 @@ if(NOT WITH_HEADLESS)
../blenlib/intern/winstuff_dir.c
../../../intern/utfconv/utfconv.c
)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${PLATFORM_LINKFLAGS}")
set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} ${PLATFORM_LINKFLAGS_DEBUG}")
endif()
include_directories(${PNG_INCLUDE_DIRS})