summaryrefslogtreecommitdiffstats
path: root/src/crypto/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/CMakeLists.txt')
-rw-r--r--src/crypto/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/crypto/CMakeLists.txt b/src/crypto/CMakeLists.txt
index 3115279..6858cbb 100644
--- a/src/crypto/CMakeLists.txt
+++ b/src/crypto/CMakeLists.txt
@@ -1,4 +1,4 @@
-include_directories(../include)
+include_directories(. ../include)
if(APPLE)
if (${ARCH} STREQUAL "x86")
@@ -57,6 +57,7 @@ if (${ARCH} STREQUAL "x86_64")
set(
CRYPTO_ARCH_SOURCES
+ cpu-x86_64-asm.${ASM_EXT}
cpu-intel.c
)
endif()
@@ -65,6 +66,7 @@ if (${ARCH} STREQUAL "x86")
set(
CRYPTO_ARCH_SOURCES
+ cpu-x86-asm.${ASM_EXT}
cpu-intel.c
)
endif()
@@ -228,3 +230,6 @@ add_executable(
)
target_link_libraries(refcount_test crypto)
+
+perlasm(cpu-x86_64-asm.${ASM_EXT} cpu-x86_64-asm.pl)
+perlasm(cpu-x86-asm.${ASM_EXT} cpu-x86-asm.pl)