]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
link problem with gl2ps for HYDRO_tests
authorPaul RASCLE <paul.rascle@openfields.fr>
Sat, 5 Sep 2020 17:03:03 +0000 (19:03 +0200)
committerYOANN AUDOUIN <B61570@dsp0851742.postes.calibre.edf.fr>
Fri, 30 Oct 2020 16:06:23 +0000 (17:06 +0100)
src/HYDRO_tests/CMakeLists.txt

index 2c475866356ff7ef7427650fdbfdca7aa962f1b8..06c6e6a654078d4135e6bd59c59a1f07bb1f14a9 100644 (file)
@@ -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