opnsense-ports/net-im/toxext/files/patch-CMakeLists.txt
Franco Fichtner f032b9bf15 */*: sync with upstream
Taken from: FreeBSD
2022-03-22 08:48:19 +01:00

14 lines
341 B
Text

--- CMakeLists.txt.orig 2022-03-21 17:46:44 UTC
+++ CMakeLists.txt
@@ -15,7 +15,9 @@ endfunction()
add_subdirectory(src)
add_subdirectory(mock)
-enable_testing()
-add_subdirectory(test)
+if (BUILD_TESTS)
+ enable_testing()
+ add_subdirectory(test)
+endif()
install(EXPORT ToxExtConfig DESTINATION lib/cmake/ToxExt NAMESPACE ToxExt::)