mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
12 lines
372 B
CMake
12 lines
372 B
CMake
|
|
pybind11_add_module(simulators simulators.cpp)
|
||
|
|
|
||
|
|
set_target_properties( simulators PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/python/simulators )
|
||
|
|
|
||
|
|
target_sources(simulators
|
||
|
|
PRIVATE
|
||
|
|
../../flow/flow_ebos_blackoil.cpp)
|
||
|
|
|
||
|
|
target_link_libraries( simulators PRIVATE opmsimulators )
|
||
|
|
|
||
|
|
install(TARGETS simulators DESTINATION ${PYTHON_INSTALL_PREFIX}/simulators)
|