Skip to content

Commit

Permalink
Fix pythonlib can not be found
Browse files Browse the repository at this point in the history
  • Loading branch information
gangliao committed Nov 25, 2016
1 parent 5e7e5cc commit aa6c6dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ include(package)
find_package(SWIG 2.0)
find_package(CUDA QUIET)
find_package(Protobuf REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)

# Set up the versions we know about, in the order we will search.
# Always add the user supplied additional versions to the front.
set(Python_ADDITIONAL_VERSIONS 2.7)
find_package(PythonInterp 2.7 REQUIRED)
find_package(PythonLibs 2.7 REQUIRED)
find_package(ZLIB REQUIRED)
find_package(NumPy REQUIRED)
find_package(Threads REQUIRED)
Expand Down

0 comments on commit aa6c6dc

Please sign in to comment.