]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Fix linkage problem
authormnt <mnt@opencascade.com>
Fri, 4 Dec 2015 11:52:45 +0000 (14:52 +0300)
committermnt <mnt@opencascade.com>
Fri, 4 Dec 2015 11:52:45 +0000 (14:52 +0300)
src/HYDRO_tests/CMakeLists.txt

index 706bac3ad0d17e7c8b8b250d100cd42810b7b29e..07c05917aede7b15df4f99c2ada18b0ffb534611 100644 (file)
@@ -62,6 +62,7 @@ ENDIF()
 SET( CPPUNIT_INCLUDES $ENV{CPPUNIT_ROOT_DIR}/include )
 SET( CAS_INCLUDES $ENV{CAS_ROOT_DIR}/inc )
 SET( QT_INCLUDES $ENV{QT4_ROOT_DIR}/include $ENV{QT4_ROOT_DIR}/include/QtCore $ENV{QT4_ROOT_DIR}/include/QtGui $ENV{QT4_ROOT_DIR}/include/QtTest )
+SET( KERNEL_INCLUDES $ENV{KERNEL_ROOT_DIR}/include/salome )
 SET( GUI_INCLUDES $ENV{GUI_ROOT_DIR}/include/salome )
 SET( GEOM_INCLUDES $ENV{GEOM_ROOT_DIR}/include/salome )
 
@@ -86,7 +87,7 @@ ELSE()
   SET( CPPUNIT_LIBRARIES cppunit )
 ENDIF()
 
-link_directories( $ENV{GUI_ROOT_DIR}/lib/salome $ENV{GEOM_ROOT_DIR}/lib/salome )
+link_directories( $ENV{KERNEL_ROOT_DIR}/lib/salome $ENV{GUI_ROOT_DIR}/lib/salome $ENV{GEOM_ROOT_DIR}/lib/salome )
 SET( GUI_LIBRARIES ImageComposer qtx suit LightApp CAM OCCViewer )
 SET( GEOM_LIBRARIES CurveCreator )
 
@@ -94,6 +95,7 @@ include_directories(
   ${CAS_INCLUDES}
   ${QT_INCLUDES}
   ${CPPUNIT_INCLUDES}
+  ${KERNEL_INCLUDES}
   ${GUI_INCLUDES}
   ${GEOM_INCLUDES}
   ${CMAKE_CURRENT_SOURCE_DIR}/../HYDROData