aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2017-01-13 08:15:26 -0600
committerBrent Cook <bcook@openbsd.org>2017-01-13 08:15:26 -0600
commit6db42999415c48d96d2498a6ac51cd233a308fd2 (patch)
tree857f0b26539726542ef28496a1d9a5fc2f661592 /crypto
parent5e6c9983dd5a96e28bcf02a123b3db6182b807dc (diff)
parent63add73d0b5b49ea583e12610799d2de80877a7d (diff)
downloadportable-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.txt2
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\")
750endif() 750endif()
751 751
752add_library(crypto-objects OBJECT ${CRYPTO_SRC})
752if (BUILD_SHARED) 753if (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)