From ced140e2f60949feb9ecabbf65d7ad30244d6329 Mon Sep 17 00:00:00 2001 From: Claus Klein Date: Tue, 2 Mar 2021 20:20:49 +0100 Subject: [PATCH] disable CXXOPTS_BUILD_TESTS (#91) update CPM verstion too --- cmake/CPM.cmake | 2 +- standalone/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/CPM.cmake b/cmake/CPM.cmake index 291e30e..f777eb0 100644 --- a/cmake/CPM.cmake +++ b/cmake/CPM.cmake @@ -1,4 +1,4 @@ -set(CPM_DOWNLOAD_VERSION 0.31.0) +set(CPM_DOWNLOAD_VERSION 0.31.1) if(CPM_SOURCE_CACHE) # Expand relative path. This is important if the provided path contains a tilde (~) diff --git a/standalone/CMakeLists.txt b/standalone/CMakeLists.txt index a8248f1..d436903 100644 --- a/standalone/CMakeLists.txt +++ b/standalone/CMakeLists.txt @@ -10,6 +10,7 @@ include(../cmake/tools.cmake) include(../cmake/CPM.cmake) +option(CXXOPTS_BUILD_TESTS "" NO) CPMAddPackage("gh:jarro2783/cxxopts@2.2.0") CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..)