Install Python module as opm.simulators

Install Python module as opm.simulators and not
opm.simulators.simulators. There is currently no need for two levels of
nesting.
This commit is contained in:
Håkon Hægland 2020-04-30 00:22:17 +02:00
parent 4bb7048ba2
commit eda0475459

View File

@ -11,4 +11,4 @@ target_link_libraries( simulators PRIVATE opmsimulators )
set(PYTHON_PACKAGE_PATH "site-packages")
set(PYTHON_INSTALL_PREFIX "lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/${PYTHON_PACKAGE_PATH}" CACHE STRING "Subdirectory to install Python modules in")
install(TARGETS simulators DESTINATION ${DEST_PREFIX}${CMAKE_INSTALL_PREFIX}/${PYTHON_INSTALL_PREFIX}/opm/simulators)
install(TARGETS simulators DESTINATION ${DEST_PREFIX}${CMAKE_INSTALL_PREFIX}/${PYTHON_INSTALL_PREFIX}/opm)