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