1 # Copyright (C) 2012-2013 EDF
3 # This file is part of SALOME HYDRO module.
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.
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.
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/>.
18 # Telemac detection for Salome
20 # !! Please read the generic detection procedure in SalomeMacros.cmake !!
22 SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(Telemac TELEMAC_ROOT_DIR 0)
23 MARK_AS_ADVANCED(TELEMAC_LIBRARY_api
25 TELEMAC_LIBRARY_damocles
26 TELEMAC_LIBRARY_parallel
27 TELEMAC_LIBRARY_sisyphe
28 TELEMAC_LIBRARY_special
29 TELEMAC_LIBRARY_telemac2d
30 TELEMAC_LIBRARY_mascaret
31 TELEMAC_LIBRARY_tomawac
32 TELEMAC_LIBRARY_gretel
33 TELEMAC_LIBRARY_partel
34 TELEMAC_LIBRARY_hermes)
36 IF(Telemac_FOUND OR TELEMAC_FOUND)
37 SALOME_ACCUMULATE_HEADERS(TELEMAC_INCLUDE_DIR)