Skip to content
Snippets Groups Projects
Verified Commit 850d10ae authored by Lars Bilke's avatar Lars Bilke
Browse files

[wheel] Enabled MFront and optimized size with shared libs.

parent 791ae864
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,4 @@ endif()
target_link_libraries(_cli PRIVATE ApplicationsLib BaseLib GitInfoLib tclap)
target_include_directories(_cli PRIVATE ../CLI)
set(_cli_dest ${CMAKE_INSTALL_LIBDIR})
if(SKBUILD)
set(_cli_dest .)
endif()
install(TARGETS _cli LIBRARY DESTINATION ${_cli_dest})
install(TARGETS _cli LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
......@@ -2,7 +2,13 @@ import os
import subprocess
import sys
from ._cli import *
try:
from .lib64._cli import *
except ImportError:
try:
from .lib._cli import *
except ImportError:
print("ERROR: could not import OpenGeoSys Python module!")
OGS_BIN_DIR = os.path.join(os.path.join(os.path.dirname(__file__), "bin"))
......
......@@ -199,7 +199,10 @@
"OGS_USE_PYTHON": "OFF",
"OGS_BUILD_PYTHON_MODULE": "ON",
"OGS_BUILD_TESTING": "OFF",
"OGS_INSTALL_DEPENDENCIES": "OFF"
"OGS_INSTALL_DEPENDENCIES": "OFF",
"OGS_USE_PIP": "OFF",
"OGS_USE_MFRONT": "ON",
"BUILD_SHARED_LIBS": "ON"
}
}
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment