From 97b7f797c92189cefdc676f27c7d870c17e5af94 Mon Sep 17 00:00:00 2001 From: mnt Date: Fri, 4 Dec 2015 14:52:45 +0300 Subject: [PATCH] Fix linkage problem --- src/HYDRO_tests/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2