diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt index 95f3b3e..a832529 100644 --- a/libc/CMakeLists.txt +++ b/libc/CMakeLists.txt @@ -71,6 +71,9 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") endif(CMAKE_BUILD_TYPE STREQUAL "Debug") +SET(CMAKE_C_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") +SET(CMAKE_CXX_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") + # ============================================================================= # Add the library. add_library( diff --git a/mentos/CMakeLists.txt b/mentos/CMakeLists.txt index e43b51d..2d014ea 100644 --- a/mentos/CMakeLists.txt +++ b/mentos/CMakeLists.txt @@ -91,6 +91,9 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") endif(CMAKE_BUILD_TYPE STREQUAL "Debug") +SET(CMAKE_C_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") +SET(CMAKE_CXX_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") + # ============================================================================= # SOURCES # ============================================================================= diff --git a/programs/CMakeLists.txt b/programs/CMakeLists.txt index 89daecf..384c03c 100644 --- a/programs/CMakeLists.txt +++ b/programs/CMakeLists.txt @@ -87,6 +87,9 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") endif(CMAKE_BUILD_TYPE STREQUAL "Debug") +SET(CMAKE_C_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") +SET(CMAKE_CXX_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") + # ============================================================================= # BUILD # ============================================================================= diff --git a/programs/tests/CMakeLists.txt b/programs/tests/CMakeLists.txt index 6779e6b..9cd4dc0 100644 --- a/programs/tests/CMakeLists.txt +++ b/programs/tests/CMakeLists.txt @@ -97,6 +97,9 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3") endif(CMAKE_BUILD_TYPE STREQUAL "Debug") +SET(CMAKE_C_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") +SET(CMAKE_CXX_ARCHIVE_FINISH " -no_warning_for_no_symbols -c ") + # ============================================================================= # BUILD # =============================================================================