diff --git a/CMakeLists.txt b/CMakeLists.txt index 47df2ce..a82caac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,9 +27,9 @@ endif(CURL_FOUND) include(GNUInstallDirs) include_directories("${PROJECT_SOURCE_DIR}/lib") -IF (WIN32) - RUNTIME_OUTPUT_NAME("VaultClient") -ENDIF() +if(WIN32) + set_target_properties(vault PROPERTIES RUNTIME_OUTPUT_NAME "VaultClient") +endif() add_library( vault