flag a couple more packages that contain sub-builds of downloaded code

This commit is contained in:
Axel Kohlmeyer
2019-06-17 16:05:54 -04:00
parent e9666f585f
commit 995b6b31a2
2 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,9 @@ if(PKG_USER-SCAFACOS)
endif()
option(DOWNLOAD_SCAFACOS "Download ScaFaCoS library instead of using an already installed one" ${DOWNLOAD_SCAFACOS_DEFAULT})
if(DOWNLOAD_SCAFACOS)
if(CMAKE_GENERATOR STREQUAL "Ninja")
message(FATAL_ERROR "Cannot build downloaded ScaFaCoS library with Ninja build tool")
endif()
message(STATUS "ScaFaCoS download requested - we will build our own")
include(ExternalProject)
ExternalProject_Add(scafacos_build