mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
nix build script add occt 7.9.1 patch
This commit is contained in:
@@ -344,6 +344,12 @@ PIC = "-fPIC" if BUILD_STATIC else ""
|
|||||||
if any(f.startswith("py-") for f in flags):
|
if any(f.startswith("py-") for f in flags):
|
||||||
PYTHON_VERSIONS = [pyv for pyv in PYTHON_VERSIONS if f"py-{''.join(pyv.split('.')[:2])}" in flags]
|
PYTHON_VERSIONS = [pyv for pyv in PYTHON_VERSIONS if f"py-{''.join(pyv.split('.')[:2])}" in flags]
|
||||||
|
|
||||||
|
if any(f.startswith("occt-") for f in flags):
|
||||||
|
OCCT_VERSION = next(f.split('-', 1)[1] for f in flags if f.startswith("occt-"))
|
||||||
|
|
||||||
|
print(OCCT_VERSION)
|
||||||
|
exit()
|
||||||
|
|
||||||
if explicit_targets:
|
if explicit_targets:
|
||||||
targets = {dep for target in explicit_targets for dep in gather_dependencies(target)}
|
targets = {dep for target in explicit_targets for dep in gather_dependencies(target)}
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 34300d41ad..09b2e0d45f 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -721,6 +721,8 @@ else()
|
||||||
|
OCCT_CHECK_AND_UNSET ("3RDPARTY_DOT_EXECUTABLE")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
+list (REMOVE_ITEM BUILD_TOOLKITS ExpToCasExe)
|
||||||
|
+
|
||||||
|
# bison
|
||||||
|
if (BUILD_YACCLEX)
|
||||||
|
list (APPEND OCCT_3RDPARTY_CMAKE_LIST "adm/cmake/bison")
|
||||||
Reference in New Issue
Block a user