diff --git a/CMakeLists.txt b/CMakeLists.txt index dc803ee59..795a8f866 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,7 +122,7 @@ IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git) EXECUTE_PROCESS(COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tools/cmake/setCommitHash.sh ${commit}) ENDIF() # Make sure that the script is executed even though cmake is not explicitly executed after the commit is changed in git -ADD_CUSTOM_TARGET(UpdatGitCommitHash COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tools/cmake/setCommitHash.sh ${commit}) +ADD_CUSTOM_TARGET(UpdateGitCommitHash COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/tools/cmake/setCommitHash.sh ${commit}) # ========================================================================= # Check IPO support: diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 94190d039..bee1ec4c8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -558,7 +558,7 @@ ADD_DEPENDENCIES(libpiclasshared libpiclasstatic userblocklib stacksizelib memus ADD_EXEC(piclas ./src/piclas.f90) ADD_DEPENDENCIES(piclas libpiclasstatic userblocklib stacksizelib memusagelib ${INTERNALLIBS}) # Make sure that the script is executed even though cmake is not explicitly executed after the commit is changed in git -ADD_DEPENDENCIES(piclas UpdatGitCommitHash) +ADD_DEPENDENCIES(piclas UpdateGitCommitHash) # special compiler flags to avoid warnings for empty functions of testcase.f90 and overwrite of intrinsic abort in globals.f90 IF (CMAKE_Fortran_COMPILER_ID MATCHES "GNU")