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:
Matt Williams
2012-07-15 21:10:31 +01:00
parent 00e2f37f31
commit 2b5024591e
2 changed files with 10 additions and 13 deletions

View File

@ -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})