Skip to content

Commit 9104fa9

Browse files
committed
Display message when wrap option is forced to True because of PythonQt_Wrap_QtAll
1 parent 7b8ee13 commit 9104fa9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ endforeach()
2525
if(PythonQt_Wrap_QtAll)
2626
list(REMOVE_ITEM qtlibs xmlpatterns) # xmlpatterns wrapper does *NOT* build at all :(
2727
foreach(qtlib ${qtlibs})
28-
set(PythonQt_Wrap_Qt${qtlib} ON CACHE BOOL "Make all of Qt${qtlib} available in python" FORCE)
28+
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()
2932
endforeach()
3033
endif()
3134

0 commit comments

Comments
 (0)