Skip to content

Commit

Permalink
Fix build on Windows using MSVC (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimpark authored May 30, 2020
1 parent c4b60d5 commit 2e6b5e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_FLAGS_DEBUG --coverage)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

option(ENABLE_TEST "Enable tests?" ON)
option(ENABLE_INTEGRATION_TEST "Enable integration tests?" OFF)
Expand Down
3 changes: 2 additions & 1 deletion include/VaultClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <curl/curl.h>
#include <functional>
#include <optional>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
Expand Down Expand Up @@ -556,4 +557,4 @@ namespace Vault {

const Client &client_;
};
}
}

0 comments on commit 2e6b5e3

Please sign in to comment.