diff options
-rw-r--r-- | crypto/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 6df9fa7..3e24a64 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -1,5 +1,7 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) +IF (CRYPTO STREQUAL INTERNAL OR CRYPTO STREQUAL TOMCRYPT) + SET(sources crypto.c) IF (CRYPTO STREQUAL INTERNAL) @@ -19,3 +21,5 @@ IF (CRYPTO STREQUAL TOMCRYPT) ENDIF(CRYPTO STREQUAL TOMCRYPT) INSTALL(TARGETS internal-crypto LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp ) + +ENDIF(CRYPTO STREQUAL INTERNAL OR CRYPTO STREQUAL TOMCRYPT) |