From 3c73a6b2b21d358d8e8a4434582fdb4e7a8f27af Mon Sep 17 00:00:00 2001 From: wb2osz Date: Fri, 22 Sep 2023 22:43:12 -0400 Subject: [PATCH] Revert "Fix build on Alpine Linux. issues 150, 319, 344." This reverts commit 877d1c7707ac11df9d32b821e3c6dfd66e561e09. --- external/misc/CMakeLists.txt | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/external/misc/CMakeLists.txt b/external/misc/CMakeLists.txt index 4dd4ec4..16125d0 100644 --- a/external/misc/CMakeLists.txt +++ b/external/misc/CMakeLists.txt @@ -32,15 +32,9 @@ if(LINUX) ) endif() - # add_library doesn't like to get an empty source file list. - - if($misc_SOURCES) - add_library(misc STATIC - ${misc_SOURCES} - ) - else() - set(MISC_LIBRARIES "" CACHE INTERNAL "") - endif() + add_library(misc STATIC + ${misc_SOURCES} + ) elseif(WIN32 OR CYGWIN) # windows