mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-30 21:13:49 -06:00
Allow adding project-specific install targets
If a project needs to install something that is very specific and not in the general build, it can use this hook to setup additional targets.
This commit is contained in:
parent
15631d2ab1
commit
0f841e1bdf
@ -179,6 +179,9 @@ opm_compile (${project})
|
||||
# installation target: copy the library together with debug and
|
||||
# configuration files to system directories
|
||||
include (OpmInstall)
|
||||
if (COMMAND install_hook)
|
||||
install_hook ()
|
||||
endif (COMMAND install_hook)
|
||||
opm_install (${project})
|
||||
message (STATUS "This build defaults to installing in ${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user