Index: cadabra2-2.1.4/CMakeLists.txt =================================================================== --- cadabra2-2.1.4.orig/CMakeLists.txt +++ cadabra2-2.1.4/CMakeLists.txt @@ -17,7 +17,7 @@ endif() if(GIT_COMMIT_DATE) set(CADABRA_VERSION_DATE "${GIT_COMMIT_DATE}") else() - execute(COMMAND date -I OUTPUT_VARIABLE THE_DATE OUTPUT_STRIP_TRAILING_WHITESPACE) + execute_process(COMMAND date -I OUTPUT_VARIABLE THE_DATE OUTPUT_STRIP_TRAILING_WHITESPACE) set(CADABRA_VERSION_DATE "${THE_DATE}") endif() message("-- Building ${CADABRA_VERSION_MAJOR}.${CADABRA_VERSION_MINOR}.${CADABRA_VERSION_PATCH}")