1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 13:41:13 +02:00

disable CXXOPTS_BUILD_TESTS (#91)

update CPM verstion too
This commit is contained in:
Claus Klein 2021-03-02 20:20:49 +01:00 committed by GitHub
parent 0b21db1022
commit ced140e2f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
set(CPM_DOWNLOAD_VERSION 0.31.0) set(CPM_DOWNLOAD_VERSION 0.31.1)
if(CPM_SOURCE_CACHE) if(CPM_SOURCE_CACHE)
# Expand relative path. This is important if the provided path contains a tilde (~) # Expand relative path. This is important if the provided path contains a tilde (~)

View file

@ -10,6 +10,7 @@ include(../cmake/tools.cmake)
include(../cmake/CPM.cmake) include(../cmake/CPM.cmake)
option(CXXOPTS_BUILD_TESTS "" NO)
CPMAddPackage("gh:jarro2783/cxxopts@2.2.0") CPMAddPackage("gh:jarro2783/cxxopts@2.2.0")
CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..)