ports/graphics/py-pivy/files/patch-CMakeLists.txt
2021-03-20 20:10:16 +00:00

16 lines
446 B
Text

--- CMakeLists.txt.orig 2021-03-19 15:41:45 UTC
+++ CMakeLists.txt
@@ -7,10 +7,10 @@ option(DISABLE_SWIG_WARNINGS "if on no swig warnings a
find_package(SWIG 4.0.0 REQUIRED)
include(${SWIG_USE_FILE})
-find_package(Coin CONFIG REQUIRED)
-find_package(SoQt CONFIG)
+find_package(Coin3D CONFIG REQUIRED)
+find_package(soqt CONFIG)
-if (SoQt_FOUND)
+if (SoQt_INCLUDE_DIRS)
find_package(Qt5 COMPONENTS Core Widgets Gui REQUIRED)
endif()