# along with SALOME HYDRO module. If not, see <http://www.gnu.org/licenses/>.
FIND_LIBRARY(TELEMAC_LIBRARY_api api
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
+ PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_bief bief
PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_damocles damocles
PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_tomawac tomawac
PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
-# FIND_LIBRARY(TELEMAC_LIBRARY_gretel gretel
-# PATHS ${TELEMAC_ROOT_DIR}/salome/wrap_api/lib)
-# FIND_LIBRARY(TELEMAC_LIBRARY_partel partel
-# PATHS ${TELEMAC_ROOT_DIR}/salome/wrap_api/lib)
+FIND_LIBRARY(TELEMAC_LIBRARY_gretel gretel
+ PATHS ${TELEMAC_ROOT_DIR}/salome/wrap_api/lib)
+FIND_LIBRARY(TELEMAC_LIBRARY_partel partel
+ PATHS ${TELEMAC_ROOT_DIR}/salome/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_hermes hermes
PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
-IF(NOT EXISTS ${TELEMAC_LIBRARY_hermes})
- MESSAGE("Warning: ${TELEMAC_LIBRARY_hermes} does not exist")
- SET(TELEMAC_LIBRARY_hermes "")
-ENDIF()
-
-# The order of the libraries is important for the API wrapper compilation
-SET(TELEMAC_LIBRARIES ${TELEMAC_LIBRARY_api}
- ${TELEMAC_LIBRARY_gretel}
- ${TELEMAC_LIBRARY_partel}
- ${TELEMAC_LIBRARY_telemac2d}
- ${TELEMAC_LIBRARY_sisyphe}
- ${TELEMAC_LIBRARY_tomawac}
- ${TELEMAC_LIBRARY_bief}
- ${TELEMAC_LIBRARY_hermes}
- ${TELEMAC_LIBRARY_parallel}
- ${TELEMAC_LIBRARY_damocles}
- ${TELEMAC_LIBRARY_special}
- )
# Handle the standard arguments of the find_package() command:
INCLUDE(FindPackageHandleStandardArgs)
TELEMAC_LIBRARY_special
TELEMAC_LIBRARY_telemac2d
TELEMAC_LIBRARY_tomawac
-# TELEMAC_LIBRARY_gretel
-# TELEMAC_LIBRARY_partel
- #TELEMAC_LIBRARY_hermes # Optional
+ TELEMAC_LIBRARY_gretel
+ TELEMAC_LIBRARY_partel
+ TELEMAC_LIBRARY_hermes
TELEMAC_INCLUDE_DIR
TELEMAC_API_SRC_DIR)