mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
19 lines
485 B
Diff
19 lines
485 B
Diff
--- a/test/CMakeLists.txt
|
|
+++ b/test/CMakeLists.txt
|
|
@@ -1,4 +1,4 @@
|
|
-add_subdirectory(googletest)
|
|
+find_package(GTest REQUIRED)
|
|
|
|
add_executable(psl-native-test
|
|
test-getfileowner.cpp
|
|
@@ -19,9 +19,6 @@ add_executable(psl-native-test
|
|
test-createhardlink.cpp
|
|
main.cpp)
|
|
|
|
-# manually include gtest headers
|
|
-target_include_directories(psl-native-test PRIVATE ${gtest_SOURCE_DIR}/include)
|
|
-
|
|
target_link_libraries(psl-native-test psl-native gtest)
|
|
|
|
add_test(NAME psl-native-test
|