We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48e12a5 commit 0216d84Copy full SHA for 0216d84
cmake/PythonBindings.cmake
@@ -53,8 +53,12 @@ if(PYTHONLIBS_FOUND)
53
set_target_properties(pyariadne-algebra PROPERTIES PREFIX "" OUTPUT_NAME "algebra" SUFFIX ".so")
54
target_link_libraries (pyariadne-algebra PUBLIC ${GCOV_LIBRARIES} ariadne PRIVATE pybind11::module)
55
56
- find_package(Python)
57
- install(TARGETS pyariadne DESTINATION ${Python_SITEARCH})
+ if (HOMEBREW)
+ install(TARGETS pyariadne DESTINATION libexec)
58
+ else()
59
+ find_package(Python)
60
+ install(TARGETS pyariadne DESTINATION ${Python_SITEARCH})
61
+ endif()
62
63
add_subdirectory(python/tests)
64
0 commit comments