# 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
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 )
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 )
IF( ${WIN32} )
SET( ECW_LIBRARIES libecwj2 )
ELSE()
- SET( ECW_LIBRARIES libecwj2 )
+ SET( ECW_LIBRARIES ecwj2 )
ENDIF()
include_directories(