Skip to content
Snippets Groups Projects
Unverified Commit bfabcd44 authored by boeschf's avatar boeschf Committed by GitHub
Browse files

fix external project when using ninja (#2008)

Fix clash betwenn Ninja build and CMake external_project
parent b9dbc348
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,7 @@ function(add_external_cmake_project)
# Add dummy DOWNLOAD_COMMAND to stop ExternalProject_Add terminating CMake if the
# git submodule had not been udpated.
DOWNLOAD_COMMAND "${CMAKE_COMMAND}" -E echo "Warning: ${EP_SOURCE_DIR} empty or missing."
BUILD_BYPRODUCTS "${EP_INTERFACE_LIB_NAME}"
SOURCE_DIR "${EP_SOURCE_DIR}"
CMAKE_ARGS "${EP_ALL_CMAKE_ARGS}"
INSTALL_DIR "${EP_INSTALL_DIR}"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment