ff_time.c)
add_library(fullfat ${SOURCE})
-add_dependencies(fullfat bugcodes)
+add_dependencies(fullfat bugcodes xdk)
-if(NOT MSVC)
+if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang"))
add_target_compile_flags(fullfat "-Wno-unused-but-set-variable")
endif()