]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CMake: Fix export of tests and doc prerequisites root dirs
authorbarate <barate>
Wed, 23 Oct 2013 08:03:56 +0000 (08:03 +0000)
committerbarate <barate>
Wed, 23 Oct 2013 08:03:56 +0000 (08:03 +0000)
SalomeKERNELConfig.cmake.in

index 884c54e076f37f4b995678b007190b34e31014db..6a51c6b8ae901cc9e56a7fdb98b6e71f0cc2db66 100644 (file)
@@ -71,10 +71,10 @@ IF(SALOME_USE_SIMAN)
 ENDIF()
 
 # Prerequisites:
-IF(SALOME_BUILD_TESTS)
+IF(SALOME_KERNEL_BUILD_TESTS)
   SET_AND_CHECK(CPPUNIT_ROOT_DIR_EXP  "@PACKAGE_CPPUNIT_ROOT_DIR@")
 ENDIF()
-IF(SALOME_BUILD_DOC)
+IF(SALOME_KERNEL_BUILD_DOC)
   SET_AND_CHECK(GRAPHVIZ_ROOT_DIR_EXP "@PACKAGE_GRAPHVIZ_ROOT_DIR@")
   SET_AND_CHECK(DOXYGEN_ROOT_DIR_EXP  "@PACKAGE_DOXYGEN_ROOT_DIR@")
   SET_AND_CHECK(SPHINX_ROOT_DIR_EXP   "@PACKAGE_SPHINX_ROOT_DIR@")