diff options
Diffstat (limited to 'Modules/WriteBasicConfigVersionFile.cmake')
-rw-r--r-- | Modules/WriteBasicConfigVersionFile.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/WriteBasicConfigVersionFile.cmake b/Modules/WriteBasicConfigVersionFile.cmake index 038cb57..4466cd7 100644 --- a/Modules/WriteBasicConfigVersionFile.cmake +++ b/Modules/WriteBasicConfigVersionFile.cmake @@ -28,7 +28,7 @@ function(WRITE_BASIC_CONFIG_VERSION_FILE _filename) if(CVF_UNPARSED_ARGUMENTS) message(FATAL_ERROR "Unknown keywords given to WRITE_BASIC_CONFIG_VERSION_FILE(): \"${CVF_UNPARSED_ARGUMENTS}\"") - endif(CVF_UNPARSED_ARGUMENTS) + endif() set(versionTemplateFile "${CMAKE_ROOT}/Modules/BasicConfigVersion-${CVF_COMPATIBILITY}.cmake.in") if(NOT EXISTS "${versionTemplateFile}") @@ -41,4 +41,4 @@ function(WRITE_BASIC_CONFIG_VERSION_FILE _filename) configure_file("${versionTemplateFile}" "${_filename}" @ONLY) -endfunction(WRITE_BASIC_CONFIG_VERSION_FILE) +endfunction() |