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:
parent
9189a02860
commit
f08dffdb41
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user