Force external project recheck earlier
Summary: This fixes an issue when the configuration changed (e.g. gflags CMake options). Reviewers: mferencevic Reviewed By: mferencevic Differential Revision: https://phabricator.memgraph.io/D874
This commit is contained in:
parent
880a563cf3
commit
04fe004423
@ -61,7 +61,7 @@ function(add_external_project name)
|
||||
ExternalProject_Add_Step(
|
||||
${name}-proj force-build
|
||||
COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_CURRENT_BINARY_DIR}/src/${name}-proj-stamp/${name}-proj-build
|
||||
DEPENDERS build ALWAYS 1)
|
||||
DEPENDERS configure ALWAYS 1)
|
||||
endfunction(add_external_project)
|
||||
|
||||
# Calls `add_external_project`, sets NAME_LIBRARY, NAME_INCLUDE_DIR variables
|
||||
|
Loading…
Reference in New Issue
Block a user