]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Compile interp_kerneltests only if asked.
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 8 Jan 2016 14:13:31 +0000 (15:13 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 8 Jan 2016 14:13:31 +0000 (15:13 +0100)
src/CMakeLists.txt

index 3076314bd19cbd0d2a7d4b210e35dee9f4a8432d..1aafde666fad61e2107c1b6b1deb9adea74e4e87 100644 (file)
@@ -17,7 +17,9 @@
 
 # InterpKERNEL
 ADD_SUBDIRECTORY(INTERP_KERNEL)
-ADD_SUBDIRECTORY(INTERP_KERNELTest)
+IF(MEDCOUPLING_BUILD_TESTS)
+  ADD_SUBDIRECTORY(INTERP_KERNELTest)
+ENDIF(MEDCOUPLING_BUILD_TESTS)
 
 # MEDCoupling
 ADD_SUBDIRECTORY(MEDCoupling)