Skip to content

Commit

Permalink
Hack to fix building on macOS with homebrew python
Browse files Browse the repository at this point in the history
  • Loading branch information
jandamm committed Jul 27, 2020
1 parent 900023c commit 53dd5e7
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 @@ -46,7 +46,7 @@ set_target_properties(cpsm_core PROPERTIES COMPILE_FLAGS "-fPIC")
add_library(cpsm_py SHARED src/ctrlp_util.cc src/python_extension.cc)
target_link_libraries(cpsm_py cpsm_core)
set_target_properties(cpsm_py PROPERTIES COMPILE_FLAGS ${PYTHON_COMPILE_FLAGS})
set_target_properties(cpsm_py PROPERTIES LINK_FLAGS ${PYTHON_LINK_FLAGS})
set_target_properties(cpsm_py PROPERTIES LINK_FLAGS "${PYTHON_LINK_FLAGS} -lpython3.8")
set_target_properties(cpsm_py PROPERTIES PREFIX "")
if(APPLE)
set_target_properties(cpsm_py PROPERTIES SUFFIX ".so")
Expand Down

0 comments on commit 53dd5e7

Please sign in to comment.