This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch training
in repository https://gitbox.apache.org/repos/asf/trafficserver-libswoc.git

commit 2f932bffc340160e187a71dcb86e306acd5a5dfc
Author: Alan M. Carroll <[email protected]>
AuthorDate: Wed May 12 11:32:21 2021 -0500

    CMake: update target to include version.
---
 code/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt
index cc5089b..80fb79b 100644
--- a/code/CMakeLists.txt
+++ b/code/CMakeLists.txt
@@ -46,7 +46,7 @@ set(CC_FILES
     )
 
 add_library(libswoc STATIC ${CC_FILES})
-set_target_properties(libswoc PROPERTIES OUTPUT_NAME swoc-static)
+set_target_properties(libswoc PROPERTIES OUTPUT_NAME 
swoc.static.${LIBSWOC_VERSION})
 if (CMAKE_COMPILER_IS_GNUCXX)
     target_compile_options(libswoc PRIVATE -fPIC -Wall -Wextra -Werror 
-Wnon-virtual-dtor -Wpedantic)
 endif()

Reply via email to