From 081cee6207dc01747dd968b06637ab9ee2cdc496 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 7 Jul 2023 15:02:16 +0300 Subject: fixes #681, allow override of library POSTFIX for nested builds --- tls/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tls') 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 $ $ export_symbol(tls ${CMAKE_CURRENT_BINARY_DIR}/tls.sym) target_link_libraries(tls ${PLATFORM_LIBS}) if (WIN32) - set(TLS_POSTFIX -${TLS_MAJOR_VERSION}) + set(TLS_POSTFIX -${TLS_MAJOR_VERSION} PARENT_SCOPE) endif() set_target_properties(tls PROPERTIES OUTPUT_NAME tls${TLS_POSTFIX} -- cgit v1.2.3-55-g6feb