diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-13 23:56:21 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-13 23:56:21 +0000 |
commit | 5ccdbda4bfa5ca879912f1a292249b99cb382559 (patch) | |
tree | 3f5c419c5f57e3bb163907d2c324fa9570e04d8e | |
parent | 1b94a3560cea4824cff6321e02baabb6972ecfdb (diff) | |
download | rspamd-5ccdbda4bfa5ca879912f1a292249b99cb382559.tar.gz rspamd-5ccdbda4bfa5ca879912f1a292249b99cb382559.zip |
Include directory in all cases.
-rw-r--r-- | src/libcryptobox/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcryptobox/CMakeLists.txt b/src/libcryptobox/CMakeLists.txt index 729f93854..b5fa56fe9 100644 --- a/src/libcryptobox/CMakeLists.txt +++ b/src/libcryptobox/CMakeLists.txt @@ -27,8 +27,6 @@ IF(${ARCH} STREQUAL "x86_64") TEST1 xorl " "dollar macro convention") - CONFIGURE_FILE(platform_config.h.in platform_config.h) - INCLUDE_DIRECTORIES("${CMAKE_CURRENT_BINARY_DIR}") SET(CURVESRC ${CMAKE_CURRENT_SOURCE_DIR}/curve25519/curve25519-donna-c64.c) SET(POLYSRC ${POLYSRC} ${CMAKE_CURRENT_SOURCE_DIR}/poly1305/ref-64.c) ELSEIF(${ARCH} STREQUAL "i386") @@ -52,6 +50,8 @@ IF(HAVE_SSE2) SET(POLYSRC ${POLYSRC} ${CMAKE_CURRENT_SOURCE_DIR}/poly1305/sse2.S) ENDIF(HAVE_SSE2) +CONFIGURE_FILE(platform_config.h.in platform_config.h) +INCLUDE_DIRECTORIES("${CMAKE_CURRENT_BINARY_DIR}") SET(LIBCRYPTOBOXSRC ${CMAKE_CURRENT_SOURCE_DIR}/cryptobox.c) SET(RSPAMD_CRYPTOBOX ${LIBCRYPTOBOXSRC} ${CHACHASRC} ${POLYSRC} ${CURVESRC} PARENT_SCOPE)
\ No newline at end of file |