# 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/${USETELCFG}/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_bief bief
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
+ PATHS ${TELEMAC_ROOT_DIR}/builds/${USETELCFG}/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_damocles damocles
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
+ PATHS ${TELEMAC_ROOT_DIR}/builds/${USETELCFG}/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_parallel parallel
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
+ PATHS ${TELEMAC_ROOT_DIR}/builds/${USETELCFG}/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_sisyphe sisyphe
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
+ PATHS ${TELEMAC_ROOT_DIR}/builds/${USETELCFG}/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_special special
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
+ PATHS ${TELEMAC_ROOT_DIR}/builds/${USETELCFG}/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_telemac2d telemac2d
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
+ PATHS ${TELEMAC_ROOT_DIR}/builds/${USETELCFG}/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_tomawac tomawac
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
+ PATHS ${TELEMAC_ROOT_DIR}/builds/${USETELCFG}/wrap_api/lib)
# FIND_LIBRARY(TELEMAC_LIBRARY_gretel gretel
-# PATHS ${TELEMAC_ROOT_DIR}/salome/wrap_api/lib)
+# PATHS ${TELEMAC_ROOT_DIR}/${USETELCFG}/wrap_api/lib)
# FIND_LIBRARY(TELEMAC_LIBRARY_partel partel
-# PATHS ${TELEMAC_ROOT_DIR}/salome/wrap_api/lib)
+# PATHS ${TELEMAC_ROOT_DIR}/${USETELCFG}/wrap_api/lib)
FIND_LIBRARY(TELEMAC_LIBRARY_hermes hermes
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
+ PATHS ${TELEMAC_ROOT_DIR}/builds/${USETELCFG}/wrap_api/lib)
IF(NOT EXISTS ${TELEMAC_LIBRARY_hermes})
MESSAGE("Warning: ${TELEMAC_LIBRARY_hermes} does not exist")
SET(TELEMAC_LIBRARY_hermes "")
ENDIF()
-FIND_PATH(TELEMAC_INCLUDE_DIR interface_telemac2d.mod
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/include)
-FIND_PATH(TELEMAC_API_SRC_DIR api_interface.f90
- PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/src)
# The order of the libraries is important for the API wrapper compilation
SET(TELEMAC_LIBRARIES ${TELEMAC_LIBRARY_api}