blob: dfb2b7ffb390b02a855292c9a54bba3126c2c4e7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- CMakeLists.txt.orig 2021-03-31 01:03:42 UTC
+++ CMakeLists.txt
@@ -17,10 +17,16 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(add_link_deps Threads::Threads)
endif()
+if (FREEBSD_BUILD_EXAMPLES)
add_subdirectory(example)
+endif()
+if (FREEBSD_BUILD_LINT)
add_subdirectory(lint)
+endif()
+if (FREEBSD_BUILD_TESTS)
add_subdirectory(test)
enable_testing()
+endif()
install(FILES peglib.h DESTINATION include)
|