2017-04-08 06:15:49 +08:00
|
|
|
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()
|
2017-04-08 06:38:04 +08:00
|
|
|
message("-- Unknown compiler, success is doubtful.")
|