see discussion here
set_property( TARGET myLibrary APPEND PROPERTY STATIC_LIBRARY_FLAGS "-no_warning_for_no_symbols" )