Skip to content

Commit

Permalink
TARGET_SONAME_FILE -> TARGET_FILE for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed Nov 6, 2023
1 parent 5a0b54d commit 9543474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c/cmake_modules/AdbcDefines.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ macro(adbc_install_python_package TARGET)
add_custom_command(TARGET python
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
$<TARGET_SONAME_FILE:adbc_driver_${TARGET}_shared>
$<TARGET_FILE:adbc_driver_${TARGET}_shared>
"${REPOSITORY_ROOT}/python/adbc_driver_${TARGET}/adbc_driver_${TARGET}/libadbc_driver_${TARGET}.so"
COMMAND ${Python_EXECUTABLE} -m pip install --no-deps -e
"${REPOSITORY_ROOT}/python/adbc_driver_${TARGET}"
COMMENT "pip installing the adbc_driver_${TARGET} library..."
DEPENDS $<TARGET_SONAME_FILE:adbc_driver_${TARGET}_shared>)
DEPENDS $<TARGET_FILE:adbc_driver_${TARGET}_shared>)
endmacro()

# Common testing setup
Expand Down

0 comments on commit 9543474

Please sign in to comment.