Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
abedra authored Sep 18, 2023
1 parent 4de0031 commit e9cc03c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ endif(CURL_FOUND)
include(GNUInstallDirs)
include_directories("${PROJECT_SOURCE_DIR}/lib")

if(WIN32)
set_target_properties(vault PROPERTIES RUNTIME_OUTPUT_NAME "VaultClient")
endif()

add_library(
vault
include/VaultClient.h
Expand Down Expand Up @@ -117,6 +113,10 @@ add_library(
src/system/Sys.cpp
src/auth/Tokens.cpp)

if(WIN32)
set_target_properties(vault PROPERTIES RUNTIME_OUTPUT_NAME "VaultClient")
endif()

target_include_directories(
vault PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include/>)
Expand Down

0 comments on commit e9cc03c

Please sign in to comment.