Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ project(Crow

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/CPM.cmake)

# Make sure Findasio.cmake module is found
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

Expand Down Expand Up @@ -60,6 +58,10 @@ option(CROW_RETURNS_OK_ON_HTTP_OPTIONS_REQUEST
option(CROW_ENABLE_SSL "Enable Crow's SSL feature for supporting https" OFF)
option(CROW_ENABLE_COMPRESSION "Enable Crow's Compression feature for supporting compressed http content" OFF)

if(CROW_GENERATE_SBOM OR CROW_BUILD_TESTS)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/CPM.cmake)
endif ()

if(CROW_GENERATE_SBOM)
CPMAddPackage(
NAME cmake-sbom
Expand Down
Loading