From: <hug...@li...> - 2012-04-30 07:23:04
|
branch: details: http://hugin.hg.sourceforge.net/hgweb/hugin/hugin/hgroot/hugin/hugin/rev/b4d44ecad7d0 changeset: 5763:b4d44ecad7d0 user: Kornel Benko <kor...@us...> date: Mon Apr 30 09:22:19 2012 +0200 description: Make use of python scriping interface be default on unix. diffstat: CMakeLists.txt | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) Unterschiede (16 Zeilen): diff -r f823a928e113 -r b4d44ecad7d0 CMakeLists.txt --- a/CMakeLists.txt Sat Apr 28 15:41:22 2012 +0200 +++ b/CMakeLists.txt Mon Apr 30 09:22:19 2012 +0200 @@ -308,7 +308,11 @@ FIND_PACKAGE(Lensfun REQUIRED) INCLUDE_DIRECTORIES(${LENSFUN_INCLUDE_DIR}) -OPTION(BUILD_HSI "Python Scripting Interface" OFF) +IF(UNIX) + OPTION(BUILD_HSI "Python Scripting Interface" ON) +ELSE(UNIX) + OPTION(BUILD_HSI "Python Scripting Interface" OFF) +ENDIF(UNIX) IF(BUILD_HSI) # find Python first because the version of SWIG required depends on the # version of Python available |