This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find_package(Python) | |
if(Python_FOUND) | |
#if python exists enable plugins that depend on python, this allows the user | |
#to turn off the python plugins even if python is found | |
option(ENABLE_Python_plugins "Turn on Plugins that depend on python existing" ${Python_FOUND}) | |
endif() | |
#if you have your python dependent plugins in a directory you can do this |