1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-10-06 09:07:19 +02:00

cmake: fix 'XXX.o has no symbols'

This commit is contained in:
Anonymous Maarten 2018-09-01 05:15:58 +02:00
parent 9189a02860
commit f08dffdb41

View File

@ -201,4 +201,12 @@ function(openrw_target_apply_options)
CHECK_ALL
)
endif()
if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
set_property(
TARGET "${OPENRW_APPLY_TARGET}"
APPEND
PROPERTY STATIC_LIBRARY_FLAGS "-no_warning_for_no_symbols"
)
endif()
endfunction()