mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 05:49:00 +08:00
13 lines
533 B
Diff
13 lines
533 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.")
|