Skip to content

Commit

Permalink
Move FETCH_DEPENDENCIES_WITH_CMAKE option to test CmakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-PLACET committed Dec 17, 2024
1 parent ac74caf commit 7f037fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ OPTION(BUILD_DOCS "Build sparrow documentation" OFF)
OPTION(BUILD_EXAMPLES "Build sparrow examples" OFF)
OPTION(USE_DATE_POLYFILL "Use date polyfill implementation" ON)
OPTION(USE_LARGE_INT_PLACEHOLDERS "use types without api for big integers" OFF)
set(DEPENDENCIES_CMAKE_FOLDER "External dependencies")
OPTION(FETCH_DEPENDENCIES_WITH_CMAKE "Fetch dependencies with CMake: Can be OFF, ON, or MISSING, in this case CMake download only dependencies which are not previously found." OFF)

OPTION(SPARROW_TARGET_32BIT "Test 32bit support" OFF)

include(CheckCXXSymbolExists)
Expand Down
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

cmake_minimum_required(VERSION 3.28)

OPTION(FETCH_DEPENDENCIES_WITH_CMAKE "Fetch dependencies with CMake: Can be OFF, ON, or MISSING, in this case CMake download only dependencies which are not previously found." OFF)

enable_testing()

if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
Expand Down

0 comments on commit 7f037fd

Please sign in to comment.