mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-21 18:02:43 +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:
parent
e873f826fc
commit
fdaaef3923
@ -208,5 +208,11 @@ function(openrw_target_apply_options)
|
||||
APPEND
|
||||
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()
|
||||
endfunction()
|
||||
|
Loading…
Reference in New Issue
Block a user