1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 02:12:45 +01:00

cmake: disable Visual Studio warning about missing PDB's during linking

This warning displays while building OpenRW in Visual Studio 2017 IDE
This commit is contained in:
Anonymous Maarten 2018-09-01 16:59:21 +02:00
parent e873f826fc
commit fdaaef3923

View File

@ -208,5 +208,11 @@ function(openrw_target_apply_options)
APPEND APPEND
PROPERTY STATIC_LIBRARY_FLAGS "-no_warning_for_no_symbols" PROPERTY STATIC_LIBRARY_FLAGS "-no_warning_for_no_symbols"
) )
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
set_property(
TARGET "${OPENRW_APPLY_TARGET}"
APPEND
PROPERTY LINK_FLAGS "/ignore:4099"
)
endif() endif()
endfunction() endfunction()