We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22433c6 commit 03b7ad5Copy full SHA for 03b7ad5
ThirdParty/CMakeLists.txt
@@ -205,9 +205,8 @@ if ((${DILIGENT_BUILD_GOOGLE_TEST}) AND (NOT TARGET gtest))
205
endif()
206
207
if (NOT TARGET xxHash::xxhash)
208
- option(BUILD_SHARED_LIBS "Build shared library" OFF)
209
- set(XXHASH_BUILD_XXHSUM OFF)
210
- set(XXHASH_BUILD_ENABLE_INLINE_API OFF)
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build xxHash as dynamic library")
+ set(XXHASH_BUILD_XXHSUM OFF CACHE BOOL "Build the xxhsum binary")
211
add_subdirectory(xxHash/build/cmake)
212
set_directory_root_folder("xxHash/build/cmake" "DiligentCore/ThirdParty/xxHash")
213
install(FILES "${xxHash_SOURCE_DIR}/../../LICENSE" DESTINATION "Licenses/ThirdParty/${DILIGENT_CORE_DIR}" RENAME xxHash-License.txt)
0 commit comments