Skip to content

Commit

Permalink
Do not install cxxopts when including it
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Sep 1, 2020
1 parent 782d5d7 commit 12c308e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 12c308e

Please sign in to comment.