From: mnt Date: Fri, 4 Dec 2015 11:52:45 +0000 (+0300) Subject: Fix linkage problem X-Git-Tag: SALOME_HYDRO_V1.0~57^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=97b7f797c92189cefdc676f27c7d870c17e5af94;p=modules%2Fhydro.git Fix linkage problem --- diff --git a/src/HYDRO_tests/CMakeLists.txt b/src/HYDRO_tests/CMakeLists.txt index 706bac3a..07c05917 100644 --- a/src/HYDRO_tests/CMakeLists.txt +++ b/src/HYDRO_tests/CMakeLists.txt @@ -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