From 5ac23856072a615487ce98401d28fb3b7934150c Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Sat, 5 Sep 2020 19:03:03 +0200 Subject: [PATCH] link problem with gl2ps for HYDRO_tests --- 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 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 -- 2.39.2