changed: rename to opm-common
This commit is contained in:
@@ -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
2
configure
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user