]> SALOME platform Git repositories - modules/hydrosolver.git/blob - adm_local/cmake_files/FindTelemac.cmake
Salome HOME
Revert "Merge branch 'yan/V8_3_BR' into pre/V8_3_BR"
[modules/hydrosolver.git] / adm_local / cmake_files / FindTelemac.cmake
1 #  Copyright (C) 2012-2013 EDF
2 #
3 #  This file is part of SALOME HYDRO module.
4 #
5 #  SALOME HYDRO module is free software: you can redistribute it and/or modify
6 #  it under the terms of the GNU General Public License as published by
7 #  the Free Software Foundation, either version 3 of the License, or
8 #  (at your option) any later version.
9 #
10 #  SALOME HYDRO module is distributed in the hope that it will be useful,
11 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #  GNU General Public License for more details.
14 #
15 #  You should have received a copy of the GNU General Public License
16 #  along with SALOME HYDRO module.  If not, see <http://www.gnu.org/licenses/>.
17
18 FIND_LIBRARY(TELEMAC_LIBRARY_api api
19              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
20 FIND_LIBRARY(TELEMAC_LIBRARY_bief bief
21              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
22 FIND_LIBRARY(TELEMAC_LIBRARY_damocles damocles
23              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
24 FIND_LIBRARY(TELEMAC_LIBRARY_parallel parallel
25              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
26 FIND_LIBRARY(TELEMAC_LIBRARY_sisyphe sisyphe
27              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
28 FIND_LIBRARY(TELEMAC_LIBRARY_special special
29              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
30 FIND_LIBRARY(TELEMAC_LIBRARY_telemac2d telemac2d
31              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
32 FIND_LIBRARY(TELEMAC_LIBRARY_tomawac tomawac
33              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
34 FIND_LIBRARY(TELEMAC_LIBRARY_gretel gretel
35              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
36 FIND_LIBRARY(TELEMAC_LIBRARY_partel partel
37              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
38 FIND_LIBRARY(TELEMAC_LIBRARY_hermes hermes
39              PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/lib)
40 FIND_PATH(TELEMAC_INCLUDE_DIR interface_telemac2d.mod
41           PATHS ${TELEMAC_ROOT_DIR}/builds/salome/wrap_api/include)
42
43 # Handle the standard arguments of the find_package() command:
44 INCLUDE(FindPackageHandleStandardArgs)
45 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Telemac REQUIRED_VARS TELEMAC_LIBRARY_api
46                                                         TELEMAC_LIBRARY_bief
47                                                         TELEMAC_LIBRARY_damocles
48                                                         TELEMAC_LIBRARY_parallel
49                                                         TELEMAC_LIBRARY_sisyphe
50                                                         TELEMAC_LIBRARY_special
51                                                         TELEMAC_LIBRARY_telemac2d
52                                                         TELEMAC_LIBRARY_tomawac
53                                                         TELEMAC_LIBRARY_gretel
54                                                         TELEMAC_LIBRARY_partel
55                                                         TELEMAC_LIBRARY_hermes)