From 6c693ac46a493bb3b80b935b11d403a77bd9a2c1 Mon Sep 17 00:00:00 2001 From: obligaron Date: Fri, 3 Nov 2023 15:45:55 +0100 Subject: [PATCH] CMakeLists: avoid adding/compiling sources twice in static lib --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bd5c3b..156cfb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -634,7 +634,7 @@ if(BUILD_STATIC_LIB) ${STATIC_LIB_NAME} STATIC $ $ $ $ - $ ${libztSrcGlob}) + $) set_target_properties( ${STATIC_LIB_NAME} PROPERTIES LINKER_LANGUAGE CXX