Skip to content

Commit

Permalink
Update c/cmake_modules/GoUtils.cmake
Browse files Browse the repository at this point in the history
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
  • Loading branch information
lidavidm and kou authored Jun 24, 2023
1 parent e29a48e commit 732eab2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c/cmake_modules/GoUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ function(add_go_lib GO_MOD_DIR GO_LIBNAME)
DESTINATION
${CMAKE_INSTALL_LIBDIR})
endif()
if(NOT WIN32)
install(FILES "${LIBOUT_SHARED}" "${LIBOUT_SHARED}.${ADBC_SO_VERSION}" TYPE LIB)
else()
if(WIN32)
# This symlink doesn't get installed
install(FILES "${LIBOUT_SHARED}.${ADBC_SO_VERSION}" TYPE BIN)
else()
install(FILES "${LIBOUT_SHARED}" "${LIBOUT_SHARED}.${ADBC_SO_VERSION}" TYPE LIB)
endif()
endif()

Expand Down

0 comments on commit 732eab2

Please sign in to comment.