diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 2fa08a5..ded07af 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
@@ -1,14 +1,3 @@ | |||
1 | include_directories( | ||
2 | . | ||
3 | ../include | ||
4 | ../include/compat | ||
5 | asn1 | ||
6 | bn | ||
7 | dsa | ||
8 | evp | ||
9 | modes | ||
10 | ) | ||
11 | |||
12 | if(HOST_ASM_ELF_X86_64) | 1 | if(HOST_ASM_ELF_X86_64) |
13 | set( | 2 | set( |
14 | ASM_X86_64_ELF_SRC | 3 | ASM_X86_64_ELF_SRC |
@@ -810,6 +799,18 @@ if(EXTRA_EXPORT) | |||
810 | endif() | 799 | endif() |
811 | 800 | ||
812 | add_library(crypto ${CRYPTO_SRC}) | 801 | add_library(crypto ${CRYPTO_SRC}) |
802 | target_include_directories(crypto | ||
803 | PRIVATE | ||
804 | . | ||
805 | asn1 | ||
806 | bn | ||
807 | dsa | ||
808 | evp | ||
809 | modes | ||
810 | PUBLIC | ||
811 | ../include | ||
812 | ../include/compat) | ||
813 | |||
813 | if (BUILD_SHARED_LIBS) | 814 | if (BUILD_SHARED_LIBS) |
814 | export_symbol(crypto ${CMAKE_CURRENT_BINARY_DIR}/crypto_p.sym) | 815 | export_symbol(crypto ${CMAKE_CURRENT_BINARY_DIR}/crypto_p.sym) |
815 | if (WIN32) | 816 | if (WIN32) |