From 37e6d114d9b8624e36ffd0bdc8e37ede32dc7678 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 6 Jun 2026 01:03:09 +0200 Subject: cmake: upgrade cmake-common, introduce new features, etc. --- aes/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'aes') diff --git a/aes/CMakeLists.txt b/aes/CMakeLists.txt index a19d3b7..e665b94 100644 --- a/aes/CMakeLists.txt +++ b/aes/CMakeLists.txt @@ -1,15 +1,15 @@ option(AES_TOOLS_ASM "Use the assembly language implementation instead of the one in C") -file(GLOB_RECURSE aes_include "include/*.h") -file(GLOB aes_src "src/*.c") +file(GLOB_RECURSE aes_include CONFIGURE_DEPENDS "include/*.h") +file(GLOB aes_src CONFIGURE_DEPENDS "src/*.c") if(MSVC AND AES_TOOLS_ASM) enable_language(ASM_MASM) - file(GLOB aes_src_impl "src/asm/*.asm") + file(GLOB aes_src_impl CONFIGURE_DEPENDS "src/asm/*.asm") set_source_files_properties(${aes_src_impl} PROPERTIES COMPILE_FLAGS /safeseh) # Setting CMAKE_ASM_MASM_FLAGS doesn't work: http://www.cmake.org/Bug/view.php?id=14711 else() - file(GLOB aes_src_impl "src/c/*.c") + file(GLOB aes_src_impl CONFIGURE_DEPENDS "src/c/*.c") endif() add_library(aes ${aes_include} ${aes_src} ${aes_src_impl}) -- cgit v1.3