From 3e98be42bca89a10119352d190af7584bab2f39f Mon Sep 17 00:00:00 2001 From: Gereon Kremer Date: Wed, 6 Oct 2021 09:27:33 -0700 Subject: Enable static builds in CI (#7281) This PR modifies our CI builds to have two static production builds. These binaries will be used as release artifacts later. --- cmake/deps-helper.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cmake') diff --git a/cmake/deps-helper.cmake b/cmake/deps-helper.cmake index f2a43c028..9a92928b6 100644 --- a/cmake/deps-helper.cmake +++ b/cmake/deps-helper.cmake @@ -40,7 +40,6 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.14") endif() macro(force_static_library) - message(STATUS "before: ${CMAKE_FIND_LIBRARY_SUFFIXES}") if (WIN32) set(CMAKE_FIND_LIBRARY_SUFFIXES .lib .a) else() @@ -50,9 +49,9 @@ endmacro(force_static_library) macro(reset_force_static_library) if (WIN32) - set(CMAKE_FIND_LIBRARY_SUFFIXES .dll) + set(CMAKE_FIND_LIBRARY_SUFFIXES .dll .lib) else() - set(CMAKE_FIND_LIBRARY_SUFFIXES .so .dylib) + set(CMAKE_FIND_LIBRARY_SUFFIXES .so .dylib .a) endif() endmacro(reset_force_static_library) -- cgit v1.2.3