Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
15 lines
544 B
Diff
15 lines
544 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 86905287dc..19214e8f2d 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -623,5 +623,9 @@ if (USE_VTK)
|
|
add_definitions (-DHAVE_VTK)
|
|
set (OCCT_VTK_USED_TARGETS "" CACHE INTERNAL "" FORCE)
|
|
OCCT_INCLUDE_CMAKE_FILE ("adm/cmake/vtk")
|
|
+ if (DEFINED VTK_USE_X AND NOT VTK_USE_X)
|
|
+ message (STATUS "Info: TKIVtkDraw toolkits excluded due to VTK has no glx support")
|
|
+ list (REMOVE_ITEM BUILD_TOOLKITS TKIVtkDraw)
|
|
+ endif()
|
|
else()
|
|
OCCT_CHECK_AND_UNSET_GROUP ("3RDPARTY_VTK")
|