Skip to content

Commit

Permalink
Issue #81: Revert "Issue #42: removed hard-coded Python version strin…
Browse files Browse the repository at this point in the history
…g from CMake config"

as it causes problems on Linux

This reverts commit f11190a.
  • Loading branch information
dzhoshkun committed Apr 9, 2019
1 parent 795564f commit f130967
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cmake/pythonlibs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.2.0)

FIND_PACKAGE(PythonLibs REQUIRED)
FIND_PACKAGE(PythonLibs 2.7 REQUIRED)
SET(PYTHON_INCLUDE_DIRS ${PYTHON_INCLUDE_DIRS}
CACHE INTERNAL "PythonLibs include dirs"
)
SET(PYTHON_LIBRARIES ${PYTHON_LIBRARIES}
CACHE INTERNAL "PythonLibs libraries"
)
SET(PYTHONLIBS_VERSION_STRING ${PYTHONLIBS_VERSION_STRING}
CACHE INTERNAL "PythonLibs version string"
)

0 comments on commit f130967

Please sign in to comment.