]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Porting to SALOME_8.2.0 : SHAPERGUI module
authornds <nds@opencascade.com>
Wed, 21 Dec 2016 10:23:27 +0000 (13:23 +0300)
committernds <nds@opencascade.com>
Wed, 21 Dec 2016 10:23:27 +0000 (13:23 +0300)
src/ModuleBase/CMakeLists.txt

index 5af74739fdb8af4746d1cf137729a296175f7aeb..9462688a7d3e66fcda65a5f36f0be7f0df645bc1 100644 (file)
@@ -176,9 +176,12 @@ INCLUDE_DIRECTORIES(
     ${PROJECT_SOURCE_DIR}/src/GeomAPI
     ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
     ${SUIT_INCLUDE}
-    ${SALOME_KERNEL_INCLUDE}
 )
 
+IF(${HAVE_SALOME})
+  INCLUDE_DIRECTORIES(${SALOME_KERNEL_INCLUDE})
+ENDIF(${HAVE_SALOME})
+
 ADD_DEFINITIONS(-DMODULEBASE_EXPORTS ${CAS_DEFINITIONS})
 ADD_LIBRARY(ModuleBase SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ${PROJECT_AUTOMOC})
 TARGET_LINK_LIBRARIES(ModuleBase GeomAPI ${PROJECT_LIBRARIES})