We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b8ee13 commit 9104fa9Copy full SHA for 9104fa9
CMakeLists.txt
@@ -25,7 +25,10 @@ endforeach()
25
if(PythonQt_Wrap_QtAll)
26
list(REMOVE_ITEM qtlibs xmlpatterns) # xmlpatterns wrapper does *NOT* build at all :(
27
foreach(qtlib ${qtlibs})
28
- set(PythonQt_Wrap_Qt${qtlib} ON CACHE BOOL "Make all of Qt${qtlib} available in python" FORCE)
+ if(NOT ${PythonQt_Wrap_Qt${qtlib}})
29
+ set(PythonQt_Wrap_Qt${qtlib} ON CACHE BOOL "Make all of Qt${qtlib} available in python" FORCE)
30
+ message(STATUS "Enabling [PythonQt_Wrap_Qt${qtlib}] because of [PythonQt_Wrap_QtAll] evaluates to True")
31
+ endif()
32
endforeach()
33
endif()
34
0 commit comments