CMake: Ignore paranoid MSVC linker warnings
[blender.git] / source / blender / datatoc / CMakeLists.txt
index 4c35a9417573467baadc22a8994c86024324ff5f..0f123fbf9f02351ff0f084bd73f32795834081cc 100644 (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})