Fix: CMP0057 policy was not set (#1367)
This commit is contained in:
1 parent
174eba45c7
commit
57f031a7c8
1 file changed
+1
@@ -3,6 +3,7 @@
|
|||||||
# Required:
|
# Required:
|
||||||
# COPY_SOURCE – pipe-separated list of source file paths
|
# COPY_SOURCE – pipe-separated list of source file paths
|
||||||
# COPY_DEST – destination directory
|
# COPY_DEST – destination directory
|
||||||
|
cmake_minimum_required(VERSION 3.24)
|
||||||
|
|
||||||
if(NOT COPY_SOURCE OR NOT COPY_DEST)
|
if(NOT COPY_SOURCE OR NOT COPY_DEST)
|
||||||
message(FATAL_ERROR "COPY_SOURCE and COPY_DEST must be set.")
|
message(FATAL_ERROR "COPY_SOURCE and COPY_DEST must be set.")
|
||||||
|
|||||||
Reference in new issue
Block a user