summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Rojas <arojas@archlinux.org>2016-11-29 18:33:31 (GMT)
committerAntonio Rojas <arojas@archlinux.org>2016-11-29 18:33:31 (GMT)
commite071d41a88f018ce9fdb0c8eb774b61226daaff9 (patch)
tree68f3938e70d5cbc230629b4c25c4ac72bc7609a1
parent2abf2e0b311c4b162ef8e99a6ab5cbab91d5d9b6 (diff)
Honor BUILD_TESTING cmake variable in julia backend
Differential Revision: https://phabricator.kde.org/D3441 CCBUG: 372676
-rw-r--r--src/backends/julia/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backends/julia/CMakeLists.txt b/src/backends/julia/CMakeLists.txt
index 0d28afb..212dc76 100644
--- a/src/backends/julia/CMakeLists.txt
+++ b/src/backends/julia/CMakeLists.txt
@@ -1,7 +1,9 @@
include_directories(${Julia_INCLUDE_DIRS})
add_subdirectory(juliaserver)
-add_subdirectory(tests)
+if(BUILD_TESTING)
+ add_subdirectory(tests)
+endif(BUILD_TESTING)
set(JuliaBackend_SRCS
juliabackend.cpp