Skip to content

Commit

Permalink
fix: CMake Python bindings fails when building on different disk (#1067)
Browse files Browse the repository at this point in the history
Create symbolic, rather than hard, links. Fixes #1066.
  • Loading branch information
timadye committed Nov 3, 2021
1 parent dde9e61 commit 3d17c32
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Examples/Python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ set(_target ${_python_dir}/acts/${f})
get_filename_component(_dir ${_target} DIRECTORY)
file(MAKE_DIRECTORY ${_dir})

file(CREATE_LINK ${CMAKE_CURRENT_SOURCE_DIR}/python/acts/${f} ${_target})
file(CREATE_LINK ${CMAKE_CURRENT_SOURCE_DIR}/python/acts/${f} ${_target} SYMBOLIC)
endforeach()

add_dependencies(ActsPythonBindings ActsPythonGlueCode)


0 comments on commit 3d17c32

Please sign in to comment.