Move some feature_summary stuff around
Move set_package_properties and add_feature_info calls around to more sensible ordering and positions.
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
option(ENABLE_BINDINGS "Build Python bindings" ON)
|
||||
if(ENABLE_BINDINGS)
|
||||
find_package(SWIG)
|
||||
set_package_properties(SWIG PROPERTIES DESCRIPTION "Bindings generator" URL http://www.swig.org)
|
||||
find_package(PythonLibs)
|
||||
set_package_properties(PythonLibs PROPERTIES DESCRIPTION "Programming language" URL http://www.python.org)
|
||||
if(SWIG_FOUND AND PYTHONLIBS_FOUND)
|
||||
set(BUILD_BINDINGS YES CACHE BOOL "Will the bindings be built" FORCE)
|
||||
include(${SWIG_USE_FILE})
|
||||
|
Reference in New Issue
Block a user