changed: rename to opm-common

This commit is contained in:
Arne Morten Kvarving
2015-09-08 10:14:00 +02:00
parent a3c1c00f80
commit ea3126feb4
4 changed files with 8 additions and 8 deletions

View File

@@ -10,8 +10,8 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Modules)
include(OpmInit)
file (READ ${PROJECT_SOURCE_DIR}/dune.module DUNE_MODULE)
OpmGetDuneModuleDirective ("Version" opm-cmake_VERSION "${DUNE_MODULE}")
OpmGetDuneModuleDirective ("Version" opm-common_VERSION "${DUNE_MODULE}")
configure_file(opm-cmake-config.cmake.in opm-cmake-config.cmake @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/opm-cmake-config.cmake
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/opm-cmake)
configure_file(opm-common-config.cmake.in opm-common-config.cmake @ONLY)
install(FILES ${PROJECT_BINARY_DIR}/opm-common-config.cmake
DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/opm-common)

2
configure vendored
View File

@@ -1,5 +1,5 @@
#!/bin/sh
# for the opm-cmake module, the configuration is a no-op since it does
# for the opm-common module, the configuration is a no-op since it does
# not provide any C/C++ source files
exit 0

View File

@@ -1,4 +1,4 @@
Module: opm-cmake
Description: Open Porous Media Initiative build system
Module: opm-common
Description: Open Porous Media Initiative common module
Version: 2015.10
Maintainer: opm@opm-project.org

View File

@@ -1,3 +1,3 @@
set (opm-cmake_VERSION "@opm-cmake_VERSION@")
set (opm-common_VERSION "@opm-common_VERSION@")
set(OPM_MACROS_ROOT @CMAKE_INSTALL_PREFIX@/@MODULES_INSTALL_PREFIX@)
list(APPEND CMAKE_MODULE_PATH @CMAKE_INSTALL_PREFIX@/@MODULES_INSTALL_PREFIX@/cmake/Modules)