summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
diff options
context:
space:
mode:
authorJiri Pinkava <j-pi@seznam.cz>2013-07-19 20:03:58 +0200
committerJohnathan Corgan <johnathan@corganlabs.com>2013-07-20 12:13:26 -0700
commit8144572532b8bfa37af01e1264a334d2a898ea8d (patch)
treed03ac5603a49827a98ec8189a2ac69304ff19042 /gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
parentbc14dc822294eb9d562174eed2db888d88f6314d (diff)
build: require Python v2 for build configuration
Diffstat (limited to 'gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake')
-rw-r--r--gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
index 6ba5ee3a5c..569667b0e9 100644
--- a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
+++ b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrSwig.cmake
@@ -114,7 +114,7 @@ macro(GR_SWIG_MAKE name)
endif()
#append additional include directories
- find_package(PythonLibs)
+ find_package(PythonLibs 2)
list(APPEND GR_SWIG_INCLUDE_DIRS ${PYTHON_INCLUDE_PATH}) #deprecated name (now dirs)
list(APPEND GR_SWIG_INCLUDE_DIRS ${PYTHON_INCLUDE_DIRS})
list(APPEND GR_SWIG_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR})