From 8735a85a3008df39b92b0a6781015011d8935a7b Mon Sep 17 00:00:00 2001 From: sfan5 Date: Fri, 6 May 2022 14:42:56 +0200 Subject: Declare all bundled libs as static Otherwise it can happen that these are built as shared depending on the options passed to CMake, which obviously isn't intended. --- lib/bitop/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bitop') diff --git a/lib/bitop/CMakeLists.txt b/lib/bitop/CMakeLists.txt index 03b4d0b96..02e8a421d 100644 --- a/lib/bitop/CMakeLists.txt +++ b/lib/bitop/CMakeLists.txt @@ -1,4 +1,4 @@ -add_library(bitop bit.c) +add_library(bitop STATIC bit.c) target_link_libraries(bitop) include_directories(${LUA_INCLUDE_DIR}) -- cgit v1.2.3