v0.14.0
UMBuildLib.cmake
Go to the documentation of this file.
1 # MoFEM is free software: you can redistribute it and/or modify it under
2 # the terms of the GNU Lesser General Public License as published by the
3 # Free Software Foundation, either version 3 of the License, or (at your
4 # option) any later version.
5 #
6 # MoFEM is distributed in the hope that it will be useful, but WITHOUT
7 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
8 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
9 # License for more details.
10 #
11 # You should have received a copy of the GNU Lesser General Public
12 # License along with MoFEM. If not, see <http://www.gnu.org/licenses/>
13 
14 include_directories(${PROJECT_SOURCE_DIR}/src/impl)
15 
16 # Users modules library, common for all programs
17 add_library(
18  ${PROJECT_SOURCE_DIR}/mortar_contact/src/impl/AllMortar.cpp)
19 
20 install(
21  TARGETS users_modules
22  DESTINATION lib/mortar_contact
23  EXPORT users_modules_targets)
24 install(
25  EXPORT users_modules_targets
26  FILE users_modules_targets.cmake
27  DESTINATION lib/mortar_contact
28 )