Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Kate Kader
Open VDS
Commits
143eff3b
Commit
143eff3b
authored
Nov 14, 2019
by
Jørgen Lind
Browse files
AzureStorage doesn't use GnuInstallDirs
parent
be6a3784
Changes
2
Show whitespace changes
Inline
Side-by-side
CMake/BuildAzure.cmake
View file @
143eff3b
...
...
@@ -6,9 +6,9 @@ function(BuildAzure)
elseif
(
APPLE
)
list
(
APPEND AZURE_LIBS_LIST
"lib/libwastorage.dylib"
)
else
()
list
(
APPEND AZURE_LIBS_LIST
"lib
${
LIBSUFFIX
}
/libazurestorage.so.7.0"
)
list
(
APPEND AZURE_LIBS_LIST
"lib
${
LIBSUFFIX
}
/libazurestorage.so.7"
)
list
(
APPEND AZURE_LIBS_LIST
"lib
${
LIBSUFFIX
}
/libazurestorage.so"
)
list
(
APPEND AZURE_LIBS_LIST
"lib/libazurestorage.so.7.0"
)
list
(
APPEND AZURE_LIBS_LIST
"lib/libazurestorage.so.7"
)
list
(
APPEND AZURE_LIBS_LIST
"lib/libazurestorage.so"
)
endif
()
set
(
AzureCmakeDir
"
${
azure-storage-cpp_SOURCE_DIR
}
/Microsoft.WindowsAzure.Storage"
)
if
(
WIN32
)
...
...
CMakeLists.txt
View file @
143eff3b
...
...
@@ -14,17 +14,11 @@ set (TEST_AWS_OBJECTID "" CACHE STRING "Test AWS object ID")
set
(
OPENVDS_LIBDIR_SUFFIX
""
CACHE STRING
"Suffix to add to lib directories on linux"
)
option
(
FORCE_NO_LIBDIR_SUFFIX
"Force there to be no suffix on lib directories linux"
)
if
(
FORCE_NO_LIBDIR_SUFFIX
)
set
(
LIBSUFFIX
""
)
elseif
(
OPENVDS_LIBDIR_SUFFIX
)
set
(
LIBSUFFIX
${
OPENVDS_LIBDIR_SUFFIX
}
)
else
()
get_property
(
LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS
)
if
(
"
${
LIB64
}
"
STREQUAL
"TRUE"
)
get_property
(
LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS
)
if
(
"
${
LIB64
}
"
STREQUAL
"TRUE"
)
set
(
LIBSUFFIX 64
)
else
()
else
()
set
(
LIBSUFFIX
""
)
endif
()
endif
()
set
(
BUILD_PYTHON_DEFAULT ON
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment