diff --git a/CMakeLists.txt b/CMakeLists.txt index 08f7f8d3..e672ed68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,13 +71,11 @@ if (ENABLE_LTO) add_compile_options(-flto) add_link_options(-flto) - if (CMAKE_C_COMPILER_ID STREQUAL "GCC") - set(CMAKE_AR "gcc-ar") - set(CMAKE_C_ARCHIVE_CREATE " qcs ") - set(CMAKE_C_ARCHIVE_FINISH true) - set(CMAKE_CXX_ARCHIVE_CREATE " qcs ") - set(CMAKE_CXX_ARCHIVE_FINISH true) - endif() + set(CMAKE_AR "gcc-ar") + set(CMAKE_C_ARCHIVE_CREATE " qcs ") + set(CMAKE_C_ARCHIVE_FINISH true) + set(CMAKE_CXX_ARCHIVE_CREATE " qcs ") + set(CMAKE_CXX_ARCHIVE_FINISH true) endif() option(BUILD_QT_SDL "Build Qt/SDL frontend" ON)