From 12c308e11fb2563fdc5bf92859a60f99ce2e6943 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 1 Sep 2020 14:42:17 +0200 Subject: [PATCH] Do not install cxxopts when including it --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b629448b..b00993ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,6 +84,11 @@ if (COSMA_WITH_PROFILING) endif () option(OPTIONS_WITH_INSTALL "" ${COSMA_WITH_INSTALL}) + +# Do not install cxxopts when including it. +option(CXXOPTS_BUILD_EXAMPLES OFF) +option(CXXOPTS_BUILD_TESTS OFF) +option(CXXOPTS_ENABLE_INSTALL OFF) add_subdirectory(libs/cxxopts) option(GRID2GRID_WITH_INSTALL "" ${COSMA_WITH_INSTALL})