diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 08d18c1..029dd51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,9 @@ project(libaesni C CXX ASM_MASM) file(GLOB_RECURSE ${PROJECT_NAME}_headers "include/*.h") if(AESNI_USE_ASM) - file(GLOB ${PROJECT_NAME}_sources src/aes128.asm src/aes192.asm src/aes256.asm src/buffer.c src/common.c) + file(GLOB ${PROJECT_NAME}_sources "src/asm/*.asm" "src/*.c") else() - file(GLOB ${PROJECT_NAME}_sources src/aes128.c src/aes192.c src/aes256.c src/buffer.c src/common.c) + file(GLOB ${PROJECT_NAME}_sources "src/c/*.c" "src/*.c") endif() add_library(${PROJECT_NAME} ${${PROJECT_NAME}_headers} ${${PROJECT_NAME}_sources}) |