Skip to content

Commit

Permalink
CMake - force cryptopp-cmake options for release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
codeshaunted committed May 16, 2022
1 parent ff686be commit 884eb5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# limitations under the License.

# cryptopp-cmake
set(CRYPTOPP_PROJECT_DIR "${CMAKE_SOURCE_DIR}/third_party/cryptopp")
set(BUILD_SHARED OFF)
set(BUILD_TESTING OFF)
set(CRYPTOPP_PROJECT_DIR "${CMAKE_SOURCE_DIR}/third_party/cryptopp" CACHE STRING "" FORCE)
set(BUILD_SHARED OFF CACHE BOOL "" FORCE)
set(BUILD_TESTING OFF CACHE BOOL "" FORCE)
add_subdirectory("cryptopp-cmake")

0 comments on commit 884eb5b

Please sign in to comment.