mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-21 08:31:50 +01:00
16 lines
679 B
Diff
16 lines
679 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 9ef0cf9..1c8329e 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -127,9 +127,8 @@ target_compile_features(sipp PUBLIC cxx_auto_type cxx_range_for)
|
|
add_executable(sipp_unittest EXCLUDE_FROM_ALL
|
|
${all_SRCS}
|
|
"${PROJECT_SOURCE_DIR}/src/sipp_unittest.cpp"
|
|
- "${PROJECT_SOURCE_DIR}/gtest/googletest/src/gtest-all.cc"
|
|
- "${PROJECT_SOURCE_DIR}/gtest/googlemock/src/gmock-all.cc"
|
|
)
|
|
+target_link_libraries(sipp_unittest gtest gmock)
|
|
target_compile_features(sipp_unittest PUBLIC cxx_auto_type cxx_range_for)
|
|
target_compile_definitions(sipp_unittest PUBLIC "-DGTEST")
|
|
target_include_directories(sipp_unittest SYSTEM PUBLIC
|