From: nds Date: Wed, 21 Dec 2016 10:23:27 +0000 (+0300) Subject: Porting to SALOME_8.2.0 : SHAPERGUI module X-Git-Tag: V_2.7.0~351^2~55^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=87c14e55cdd112e3b9d76f89fd048862256a96d1;p=modules%2Fshaper.git Porting to SALOME_8.2.0 : SHAPERGUI module --- diff --git a/src/ModuleBase/CMakeLists.txt b/src/ModuleBase/CMakeLists.txt index 5af74739f..9462688a7 100644 --- a/src/ModuleBase/CMakeLists.txt +++ b/src/ModuleBase/CMakeLists.txt @@ -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})