diff --git a/cmake/CopyFileScript.cmake b/cmake/CopyFileScript.cmake index a6b2f8397b..ac156ca14d 100644 --- a/cmake/CopyFileScript.cmake +++ b/cmake/CopyFileScript.cmake @@ -3,6 +3,7 @@ # Required: # COPY_SOURCE – pipe-separated list of source file paths # COPY_DEST – destination directory +cmake_minimum_required(VERSION 3.24) if(NOT COPY_SOURCE OR NOT COPY_DEST) message(FATAL_ERROR "COPY_SOURCE and COPY_DEST must be set.")