Skip to content

Commit

Permalink
Fix build on Alpine Linux. issues 150, 319, 344.
Browse files Browse the repository at this point in the history
  • Loading branch information
wb2osz committed Sep 23, 2023
1 parent ba0313c commit 877d1c7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions external/misc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,15 @@ if(LINUX)
)
endif()

add_library(misc STATIC
${misc_SOURCES}
)
# 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()

elseif(WIN32 OR CYGWIN) # windows

Expand Down

0 comments on commit 877d1c7

Please sign in to comment.