Skip to content

Commit

Permalink
fix(build): keychain.lib missing on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mairon1206 committed Aug 3, 2024
1 parent 428b653 commit c46b159
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,12 @@ endif()
add_subdirectory(src)
# sast-link-sdk
add_subdirectory(3rdpart/sast-link-cxx-sdk)

# credential storage
set(BUILD_SHARED_LIBS OFF)
add_subdirectory(3rdpart/keychain)
set(BUILD_SHARED_LIBS ON)

if(WIN32)
set_target_properties(keychain PROPERTIES BUILD_SHARED_LIBS OFF)
endif()
Expand Down

0 comments on commit c46b159

Please sign in to comment.