Skip to content

Commit

Permalink
Display message when wrap option is forced to True because of PythonQ…
Browse files Browse the repository at this point in the history
…t_Wrap_QtAll
  • Loading branch information
jcfr committed Jul 12, 2012
1 parent 7b8ee13 commit 9104fa9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Expand Up @@ -25,7 +25,10 @@ endforeach()
if(PythonQt_Wrap_QtAll)
list(REMOVE_ITEM qtlibs xmlpatterns) # xmlpatterns wrapper does *NOT* build at all :(
foreach(qtlib ${qtlibs})
set(PythonQt_Wrap_Qt${qtlib} ON CACHE BOOL "Make all of Qt${qtlib} available in python" FORCE)
if(NOT ${PythonQt_Wrap_Qt${qtlib}})
set(PythonQt_Wrap_Qt${qtlib} ON CACHE BOOL "Make all of Qt${qtlib} available in python" FORCE)
message(STATUS "Enabling [PythonQt_Wrap_Qt${qtlib}] because of [PythonQt_Wrap_QtAll] evaluates to True")
endif()
endforeach()
endif()

Expand Down

0 comments on commit 9104fa9

Please sign in to comment.