summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGereon Kremer <nafur42@gmail.com>2021-10-06 09:27:33 -0700
committerGitHub <noreply@github.com>2021-10-06 16:27:33 +0000
commit3e98be42bca89a10119352d190af7584bab2f39f (patch)
treee7601b80eaf46bba8bcc873df56982e66639f5d1 /cmake
parentffeb34d0d7c893ee30bb9083b9c4e1b36423c1ed (diff)
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.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/deps-helper.cmake5
1 files changed, 2 insertions, 3 deletions
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)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback