Ensure glob always happens

This commit is contained in:
Bram Wasti
2017-01-04 10:46:37 -08:00
parent ec87d49f56
commit ae17168939

View File

@ -4,6 +4,9 @@ project(Caffe2 CXX C)
# TODO(bwasti): versioning
# We want CMake to GLOB everything every time.
execute_process(COMMAND find "${PROJECT_SOURCE_DIR}" -name "CMakeLists.txt" -exec touch {} \;)
# Useful functions.
function (exclude OUTPUT INPUT)
set(EXCLUDES ${ARGN})