diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-01 10:02:15 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-01 10:02:15 +0200 |
| commit | 7e30f35cfc42ac3983dfa281d554df9aa9485a99 (patch) | |
| tree | 5b11a3e14a2a60cdb80db1fca1d0d3f850f97bac /libcmix-crypto/curve25519 | |
| parent | 37effc3e136c73afd4d6ba37d23a91766795d0f7 (diff) | |
| download | cmix-7e30f35cfc42ac3983dfa281d554df9aa9485a99.tar.gz cmix-7e30f35cfc42ac3983dfa281d554df9aa9485a99.tar.bz2 cmix-7e30f35cfc42ac3983dfa281d554df9aa9485a99.zip | |
Fixes the build for mxe-cross-builds, and if building shared libraries.
Diffstat (limited to 'libcmix-crypto/curve25519')
| -rw-r--r-- | libcmix-crypto/curve25519/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | libcmix-crypto/curve25519/null/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | libcmix-crypto/curve25519/sodium/CMakeLists.txt | 1 |
3 files changed, 1 insertions, 2 deletions
diff --git a/libcmix-crypto/curve25519/CMakeLists.txt b/libcmix-crypto/curve25519/CMakeLists.txt index ba79d87..afcc1b4 100644 --- a/libcmix-crypto/curve25519/CMakeLists.txt +++ b/libcmix-crypto/curve25519/CMakeLists.txt @@ -26,6 +26,7 @@ target_include_directories(curve25519-implementation ) target_link_libraries(curve25519-implementation + PUBLIC curve25519-interface PUBLIC curve25519-${curve25519_implementation} ) diff --git a/libcmix-crypto/curve25519/null/CMakeLists.txt b/libcmix-crypto/curve25519/null/CMakeLists.txt index 12264db..e5cefdd 100644 --- a/libcmix-crypto/curve25519/null/CMakeLists.txt +++ b/libcmix-crypto/curve25519/null/CMakeLists.txt @@ -11,6 +11,5 @@ target_compile_options(${target_name} ) target_link_libraries(${target_name} - INTERFACE cmix-crypto PRIVATE curve25519-interface ) diff --git a/libcmix-crypto/curve25519/sodium/CMakeLists.txt b/libcmix-crypto/curve25519/sodium/CMakeLists.txt index 7679a88..78561ce 100644 --- a/libcmix-crypto/curve25519/sodium/CMakeLists.txt +++ b/libcmix-crypto/curve25519/sodium/CMakeLists.txt @@ -13,7 +13,6 @@ target_compile_options(${target_name} ) target_link_libraries(${target_name} - INTERFACE cmix-crypto PRIVATE curve25519-interface PUBLIC sodium ) |
