mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
use correct verison of Python on Mac OS X (#167)
This commit is contained in:
parent
0bc6a17188
commit
3bf5ed9a91
1 changed files with 7 additions and 0 deletions
|
@ -113,4 +113,11 @@ target_link_libraries(scheduler boost_system boost_filesystem)
|
|||
add_library(raylib SHARED src/raylib.cc src/worker.cc src/ipc.cc src/utils.cc ${GENERATED_PROTOBUF_FILES})
|
||||
target_link_libraries(raylib ${ARROW_LIB} pynumbuf boost_system boost_filesystem)
|
||||
|
||||
get_filename_component(PYTHON_SHARED_LIBRARY ${PYTHON_LIBRARIES} NAME)
|
||||
if(APPLE)
|
||||
add_custom_command(TARGET raylib
|
||||
POST_BUILD COMMAND
|
||||
${CMAKE_INSTALL_NAME_TOOL} -change ${PYTHON_SHARED_LIBRARY} ${PYTHON_LIBRARIES} libraylib.so)
|
||||
endif(APPLE)
|
||||
|
||||
install(TARGETS objstore scheduler raylib DESTINATION ${CMAKE_SOURCE_DIR}/lib/python/ray)
|
||||
|
|
Loading…
Add table
Reference in a new issue