mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 12:49:44 +08:00
14 lines
534 B
Diff
14 lines
534 B
Diff
diff --git a/Microsoft.WindowsAzure.Storage/CMakeLists.txt b/Microsoft.WindowsAzure.Storage/CMakeLists.txt
|
|
index 8d1c47e..3b4d1c0 100644
|
|
--- a/Microsoft.WindowsAzure.Storage/CMakeLists.txt
|
|
+++ b/Microsoft.WindowsAzure.Storage/CMakeLists.txt
|
|
@@ -108,6 +108,8 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
|
|
add_compile_options(/MP)
|
|
if(BUILD_SHARED_LIBS)
|
|
add_definitions(-DWASTORAGE_DLL -D_USRDLL)
|
|
+ else()
|
|
+ add_definitions(-D_NO_WASTORAGE_API)
|
|
endif()
|
|
else()
|
|
message("-- Unknown compiler, success is doubtful.")
|