diff options
author | Brent Cook <bcook@openbsd.org> | 2017-01-13 08:15:26 -0600 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2017-01-13 08:15:26 -0600 |
commit | 6db42999415c48d96d2498a6ac51cd233a308fd2 (patch) | |
tree | 857f0b26539726542ef28496a1d9a5fc2f661592 /crypto | |
parent | 5e6c9983dd5a96e28bcf02a123b3db6182b807dc (diff) | |
parent | 63add73d0b5b49ea583e12610799d2de80877a7d (diff) | |
download | portable-6db42999415c48d96d2498a6ac51cd233a308fd2.tar.gz portable-6db42999415c48d96d2498a6ac51cd233a308fd2.tar.bz2 portable-6db42999415c48d96d2498a6ac51cd233a308fd2.zip |
Land #256, Define CMake library object lists globally
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index 2b48d32..dd0e569 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt | |||
@@ -749,8 +749,8 @@ else() | |||
749 | add_definitions(-DOPENSSLDIR=\"${CMAKE_INSTALL_PREFIX}/etc/ssl\") | 749 | add_definitions(-DOPENSSLDIR=\"${CMAKE_INSTALL_PREFIX}/etc/ssl\") |
750 | endif() | 750 | endif() |
751 | 751 | ||
752 | add_library(crypto-objects OBJECT ${CRYPTO_SRC}) | ||
752 | if (BUILD_SHARED) | 753 | if (BUILD_SHARED) |
753 | add_library(crypto-objects OBJECT ${CRYPTO_SRC}) | ||
754 | add_library(crypto STATIC $<TARGET_OBJECTS:crypto-objects>) | 754 | add_library(crypto STATIC $<TARGET_OBJECTS:crypto-objects>) |
755 | add_library(crypto-shared SHARED $<TARGET_OBJECTS:crypto-objects>) | 755 | add_library(crypto-shared SHARED $<TARGET_OBJECTS:crypto-objects>) |
756 | if (WIN32) | 756 | if (WIN32) |