mirror of https://github.com/wb2osz/direwolf.git
Fix build on Alpine Linux. issues 150, 319, 344.
This commit is contained in:
parent
ba0313ca78
commit
877d1c7707
|
@ -32,9 +32,15 @@ if(LINUX)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(misc STATIC
|
# add_library doesn't like to get an empty source file list.
|
||||||
${misc_SOURCES}
|
|
||||||
)
|
if($misc_SOURCES)
|
||||||
|
add_library(misc STATIC
|
||||||
|
${misc_SOURCES}
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
set(MISC_LIBRARIES "" CACHE INTERNAL "")
|
||||||
|
endif()
|
||||||
|
|
||||||
elseif(WIN32 OR CYGWIN) # windows
|
elseif(WIN32 OR CYGWIN) # windows
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue