Use FindPython3 in addition to pkg-config

This commit is contained in:
Alexey Sokolov
2019-07-23 22:46:51 +01:00
parent 95369455fc
commit 960b76d2ea
4 changed files with 43 additions and 10 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ execute_process(COMMAND "${brew}" --prefix python3
if(brew_python_f EQUAL 0)
find_package_message(brew_python "Python via Homebrew: ${brew_python}"
"${brew_python}")
list(APPEND Python_FRAMEWORKS_ADDITIONAL
list(APPEND Python3_FRAMEWORKS_ADDITIONAL
"${brew_python}/Frameworks/Python.framework")
endif()