749823e044
Compiler when compiling doesn't use them in those cases and emit a warning, which is turned into an error by `-Werror`. Unfortunately, CPack doesn't expose the logic it uses for stripping binaries.
10 lines
244 B
CMake
10 lines
244 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(tests_common)
|
|
|
|
add_library(tests_common STATIC
|
|
source/main.cpp
|
|
)
|
|
target_include_directories(tests_common PUBLIC include)
|
|
target_link_libraries(tests_common PUBLIC libimhex ${FMT_LIBRARIES})
|