summaryrefslogtreecommitdiff
path: root/libcr_ipc
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-26 20:47:05 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-03-26 20:47:05 -0600
commit61b14883c1ddbd5985c681ef7b559cf3c8c15525 (patch)
treeb27a8c7d948c121f81486178ad77df577b83ab0d /libcr_ipc
parentf7eb78bd9f38294814c05bcf7867ce6c4414c77c (diff)
cmake: Fuss with include_directories for tests
Diffstat (limited to 'libcr_ipc')
-rw-r--r--libcr_ipc/CMakeLists.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/libcr_ipc/CMakeLists.txt b/libcr_ipc/CMakeLists.txt
index 4590bdd..3746584 100644
--- a/libcr_ipc/CMakeLists.txt
+++ b/libcr_ipc/CMakeLists.txt
@@ -21,9 +21,6 @@ set(ipc_tests
rpc
sema
)
-if (ENABLE_TESTS)
- foreach(test IN LISTS ipc_tests)
- add_lib_test(libcr_ipc "test_${test}")
- target_include_directories("test_${test}" PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/tests)
- endforeach()
-endif()
+foreach(test IN LISTS ipc_tests)
+ add_lib_test(libcr_ipc "test_${test}")
+endforeach()