diff options
author | Brent Cook <busterb@gmail.com> | 2023-07-07 15:02:16 +0300 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2023-07-07 15:02:16 +0300 |
commit | 081cee6207dc01747dd968b06637ab9ee2cdc496 (patch) | |
tree | 94b973722f4e5961e58edb03cee096224dd4cc29 /tls | |
parent | de9c24a0254d554251c1fa43738a6f2e70b3ed83 (diff) | |
download | portable-081cee6207dc01747dd968b06637ab9ee2cdc496.tar.gz portable-081cee6207dc01747dd968b06637ab9ee2cdc496.tar.bz2 portable-081cee6207dc01747dd968b06637ab9ee2cdc496.zip |
fixes #681, allow override of library POSTFIX for nested builds
Diffstat (limited to 'tls')
-rw-r--r-- | tls/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tls/CMakeLists.txt b/tls/CMakeLists.txt index 5bc6208..2a90192 100644 --- a/tls/CMakeLists.txt +++ b/tls/CMakeLists.txt | |||
@@ -54,7 +54,7 @@ add_library(tls $<TARGET_OBJECTS:tls_obj> $<TARGET_OBJECTS:ssl_obj> | |||
54 | export_symbol(tls ${CMAKE_CURRENT_BINARY_DIR}/tls.sym) | 54 | export_symbol(tls ${CMAKE_CURRENT_BINARY_DIR}/tls.sym) |
55 | target_link_libraries(tls ${PLATFORM_LIBS}) | 55 | target_link_libraries(tls ${PLATFORM_LIBS}) |
56 | if (WIN32) | 56 | if (WIN32) |
57 | set(TLS_POSTFIX -${TLS_MAJOR_VERSION}) | 57 | set(TLS_POSTFIX -${TLS_MAJOR_VERSION} PARENT_SCOPE) |
58 | endif() | 58 | endif() |
59 | set_target_properties(tls PROPERTIES | 59 | set_target_properties(tls PROPERTIES |
60 | OUTPUT_NAME tls${TLS_POSTFIX} | 60 | OUTPUT_NAME tls${TLS_POSTFIX} |