diff options
Diffstat (limited to 'src/ipcpd')
| -rw-r--r-- | src/ipcpd/local/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/ipcpd/unicast/CMakeLists.txt | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/ipcpd/local/CMakeLists.txt b/src/ipcpd/local/CMakeLists.txt index 08abff57..f661e9ae 100644 --- a/src/ipcpd/local/CMakeLists.txt +++ b/src/ipcpd/local/CMakeLists.txt @@ -31,4 +31,6 @@ endif () install(TARGETS ipcpd-local RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}) # Enable once ipcp-local has tests -# add_subdirectory(tests) +# if(BUILD_TESTS) +# add_subdirectory(tests) +# endif () diff --git a/src/ipcpd/unicast/CMakeLists.txt b/src/ipcpd/unicast/CMakeLists.txt index ced045e6..a9155353 100644 --- a/src/ipcpd/unicast/CMakeLists.txt +++ b/src/ipcpd/unicast/CMakeLists.txt @@ -71,6 +71,8 @@ endif () install(TARGETS ipcpd-unicast RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}) -add_subdirectory(pff/tests) -add_subdirectory(routing/tests) -add_subdirectory(dir/tests) +if(BUILD_TESTS) + add_subdirectory(pff/tests) + add_subdirectory(routing/tests) + add_subdirectory(dir/tests) +endif () |
