Fix OpenMP support (#415)
Prevent crypto++ from building the library via an intermediate object target. This is not necessary as we are only building the static library, and breaks passing the build flags that enable openMP support.
This commit is contained in:
parent
5f908c641c
commit
c314a3cb70
1
vendor/cryptopp/CMakeLists.txt
vendored
1
vendor/cryptopp/CMakeLists.txt
vendored
@ -15,6 +15,7 @@ set(CRYPTOPP_BUILD_TESTING OFF CACHE BOOL "")
|
||||
set(BUILD_DOCUMENTATION OFF CACHE BOOL "")
|
||||
set(BUILD_SHARED OFF CACHE BOOL "")
|
||||
set(BUILD_STATIC ON CACHE BOOL "")
|
||||
set(USE_INTERMEDIATE_OBJECTS_TARGET OFF CACHE BOOL "")
|
||||
set(cryptocpp_DISPLAY_CMAKE_SUPPORT_WARNING OFF CACHE BOOL "")
|
||||
add_subdirectory(vendor_cryptopp EXCLUDE_FROM_ALL)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user