File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.5 )
1+ cmake_minimum_required (VERSION 3.15 )
22project (chowdsp_wdf VERSION 1.0.0 LANGUAGES C CXX)
33include (cmake/CXXStandard.cmake)
44
5- include (cmake/CPM.cmake)
6-
75message (STATUS "Configuring ${PROJECT_NAME} library..." )
86add_library (${PROJECT_NAME} INTERFACE )
97add_library (chowdsp::${PROJECT_NAME} ALIAS ${PROJECT_NAME} )
@@ -30,6 +28,7 @@ option(CHOWDSP_WDF_BUILD_BENCHMARKS "Add targets for building and running chowds
3028
3129set (CHOWDSP_WDF_TEST_WITH_XSIMD_VERSION "" CACHE STRING "Tests chowdsp_wdf with XSIMD version" )
3230if (NOT ("${CHOWDSP_WDF_TEST_WITH_XSIMD_VERSION} " STREQUAL "" ))
31+ include (cmake/CPM.cmake)
3332 message (STATUS "Importing XSIMD version ${CHOWDSP_WDF_TEST_WITH_XSIMD_VERSION} with CPM" )
3433 CPMAddPackage(
3534 NAME xsimd
@@ -39,9 +38,11 @@ if(NOT ("${CHOWDSP_WDF_TEST_WITH_XSIMD_VERSION}" STREQUAL ""))
3938endif ()
4039
4140if (CHOWDSP_WDF_BUILD_TESTS)
41+ include (cmake/CPM.cmake)
4242 add_subdirectory (tests)
4343endif ()
4444
4545if (CHOWDSP_WDF_BUILD_BENCHMARKS)
46+ include (cmake/CPM.cmake)
4647 add_subdirectory (bench)
4748endif ()
You can’t perform that action at this time.
0 commit comments