Add EXCLUDE_FROM_ALL to subprojects

Prevent `make install` from installing headers/cmake stuff.
pull/1135/head
Jason Rhinelander 4 years ago
parent a8ce76f6e4
commit e3bce76a7c

@ -272,10 +272,10 @@ endif()
set(JSON_BuildTests OFF CACHE INTERNAL "")
add_subdirectory(external/nlohmann EXCLUDE_FROM_ALL)
add_subdirectory(external/cxxopts)
add_subdirectory(external/cxxopts EXCLUDE_FROM_ALL)
add_subdirectory(external/ghc-filesystem)
add_subdirectory(external/optional-lite)
add_subdirectory(external/date)
add_subdirectory(external/optional-lite EXCLUDE_FROM_ALL)
add_subdirectory(external/date EXCLUDE_FROM_ALL)
if(ANDROID)
list(APPEND LIBS log)

Loading…
Cancel
Save