blob: 83c133df4bdd0c4efd2cfbe932d8eb8dc3bdf7cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/src/script_interface/CMakeLists.txt b/src/script_interface/CMakeLists.txt
index a799571..9d03f33 100644
--- a/src/script_interface/CMakeLists.txt
+++ b/src/script_interface/CMakeLists.txt
@@ -54,4 +54,6 @@ target_link_libraries(
target_include_directories(Espresso_script_interface
PUBLIC ${CMAKE_SOURCE_DIR}/src)
-add_subdirectory(tests)
+if(WITH_TESTS)
+ add_subdirectory(tests)
+endif(WITH_TESTS)
|