Skip to content

Commit

Permalink
By default, CMake imports all the submodules.
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Apr 29, 2020
1 parent 2cf783b commit c674b07
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dependencies/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ function(initialize_submodule DIRECTORY)
endif()
endif()
endfunction(initialize_submodule)

initialize_submodule(simdjson)
add_library(simdjsondep INTERFACE)
target_include_directories(simdjsondep INTERFACE simdjson/include)
add_subdirectory(simdjson EXCLUDE_FROM_ALL)

set(SIMDJSON_COMPETITION OFF CACHE STRING "Do not give me all the dependencies." FORCE)
add_subdirectory(simdjson EXCLUDE_FROM_ALL)

0 comments on commit c674b07

Please sign in to comment.