From: asl Date: Wed, 1 Nov 2017 12:01:49 +0000 (+0300) Subject: correction of HYDRO for YAMM X-Git-Tag: v2.1~67^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=076f996365b317b00b88ebbf2d3b6e31189ee98b;p=modules%2Fhydro.git correction of HYDRO for YAMM --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ea854275..db56a7c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,7 +88,7 @@ LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm/cmake") # User options # ============ # (some options may have already been defined in KERNEL) -OPTION(SALOME_BUILD_DOC "Generate HYDRO documentation" ON) +OPTION(SALOME_BUILD_DOC "Generate HYDRO documentation" OFF) OPTION(SALOME_BUILD_TESTS "Build HYDRO tests" ON) # Prerequisites diff --git a/src/HYDROData/CMakeLists.txt b/src/HYDROData/CMakeLists.txt index 1d507ef4..d82add81 100644 --- a/src/HYDROData/CMakeLists.txt +++ b/src/HYDROData/CMakeLists.txt @@ -134,7 +134,7 @@ link_directories( $ENV{ECWLIB_ROOT_DIR}/lib ) IF( ${WIN32} ) SET( ECW_LIBRARIES libecwj2 ) ELSE() - SET( ECW_LIBRARIES libecwj2 ) + SET( ECW_LIBRARIES ecwj2 ) ENDIF() add_definitions( diff --git a/src/HYDRO_tests/CMakeLists.txt b/src/HYDRO_tests/CMakeLists.txt index 0dde980c..0617a98d 100644 --- a/src/HYDRO_tests/CMakeLists.txt +++ b/src/HYDRO_tests/CMakeLists.txt @@ -76,7 +76,7 @@ ENDIF() SET( CPPUNIT_INCLUDES $ENV{CPPUNIT_ROOT_DIR}/include ) SET( CAS_INCLUDES $ENV{CASROOT}/inc ) -SET( QT_INCLUDES $ENV{QT_ROOT_DIR}/include $ENV{QT_ROOT_DIR}/include/QtCore $ENV{QT_ROOT_DIR}/include/QtGui $ENV{QT_ROOT_DIR}/include/QtTest ) +SET( QT_INCLUDES $ENV{QTDIR}/include $ENV{QT_ROOT_DIR}/include $ENV{QT_ROOT_DIR}/include/QtCore $ENV{QT_ROOT_DIR}/include/QtGui $ENV{QT_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 ) @@ -89,17 +89,14 @@ ELSE() ENDIF() SET( CAS_LIBRARIES TKernel TKLCAF TKCAF TKCDF TKMath TKG2d TKG3d TKBRep TKGeomBase TKTopAlgo TKGeomAlgo TKBool TKShHealing TKXSBase TKOffset TKHLR TKBO TKV3d TKService TKMesh ) -link_directories( $ENV{QT_ROOT_DIR}/lib ) +link_directories( $ENV{QT_ROOT_DIR}/lib $ENV{QTDIR}/lib ) IF( ${WIN32} ) - IF( CMAKE_BUILD_TYPE MATCHES Debug ) - SET( QT_LIBRARIES Qt5Cored Qt5Guid Qt5Testd ) - ELSE() - SET( QT_LIBRARIES Qt5Core Qt5Gui Qt5Test ) - ENDIF() + SET( QT_LIBRARIES Qt5Cored Qt5Guid Qt5Testd ) ELSE() - SET( QT_LIBRARIES QtCore QtGui QtTest ) + SET( QT_LIBRARIES Qt5Core Qt5Gui Qt5Test ) ENDIF() + link_directories( $ENV{CPPUNIT_ROOT_DIR}/lib ) IF( ${WIN32} ) IF( CMAKE_BUILD_TYPE MATCHES Debug ) @@ -119,7 +116,7 @@ link_directories( $ENV{ECWLIB_ROOT_DIR}/lib ) IF( ${WIN32} ) SET( ECW_LIBRARIES libecwj2 ) ELSE() - SET( ECW_LIBRARIES libecwj2 ) + SET( ECW_LIBRARIES ecwj2 ) ENDIF() include_directories(