From: Paul RASCLE Date: Sat, 5 Sep 2020 17:03:03 +0000 (+0200) Subject: link problem with gl2ps for HYDRO_tests X-Git-Tag: SH_V2_2_0~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5ac23856072a615487ce98401d28fb3b7934150c;p=modules%2Fhydro.git link problem with gl2ps for HYDRO_tests --- diff --git a/src/HYDRO_tests/CMakeLists.txt b/src/HYDRO_tests/CMakeLists.txt index 2c475866..06c6e6a6 100644 --- a/src/HYDRO_tests/CMakeLists.txt +++ b/src/HYDRO_tests/CMakeLists.txt @@ -115,7 +115,6 @@ SET( CAS_LIBRARIES TKV3d TKService TKMesh - gl2ps ) # !LIGHT_MODE # TKIGES @@ -162,6 +161,8 @@ SET( GEOM_LIBRARIES # !LIGHT_MODE # GEOM # GEOMBase +link_directories( $ENV{GL2PS_INSTALL_DIR}/lib ) +set( GL2PS_LIBRARIES gl2ps ) link_directories( $ENV{ECWLIB_ROOT_DIR}/lib ) IF( ${WIN32} ) @@ -192,6 +193,7 @@ target_link_libraries( HYDROData_tests ${GUI_LIBRARIES} ${GEOM_LIBRARIES} ${CAS_LIBRARIES} + ${GL2PS_LIBRARIES} ${QT_LIBRARIES} ${CPPUNIT_LIBRARIES} shapelib