Skip to content

Commit

Permalink
Find matching Python libs
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller authored Nov 15, 2019
1 parent a8b38b2 commit 8c4f05c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ add_subdirectory (src/api)

if (NLOPT_PYTHON)
find_package (PythonInterp)
find_package (PythonLibs)
find_package (PythonLibs ${PYTHON_VERSION_STRING} EXACT)
find_package (NumPy)
endif ()

Expand Down

0 comments on commit 8c4f05c

Please sign in to comment.