do what Nadia said
This commit is contained in:
parent
78839f862e
commit
ae9694ef8b
|
@ -71,13 +71,11 @@ if (ENABLE_LTO)
|
||||||
add_compile_options(-flto)
|
add_compile_options(-flto)
|
||||||
add_link_options(-flto)
|
add_link_options(-flto)
|
||||||
|
|
||||||
if (CMAKE_C_COMPILER_ID STREQUAL "GCC")
|
set(CMAKE_AR "gcc-ar")
|
||||||
set(CMAKE_AR "gcc-ar")
|
set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> qcs <TARGET> <LINK_FLAGS> <OBJECTS>")
|
||||||
set(CMAKE_C_ARCHIVE_CREATE "<CMAKE_AR> qcs <TARGET> <LINK_FLAGS> <OBJECTS>")
|
set(CMAKE_C_ARCHIVE_FINISH true)
|
||||||
set(CMAKE_C_ARCHIVE_FINISH true)
|
set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> qcs <TARGET> <LINK_FLAGS> <OBJECTS>")
|
||||||
set(CMAKE_CXX_ARCHIVE_CREATE "<CMAKE_AR> qcs <TARGET> <LINK_FLAGS> <OBJECTS>")
|
set(CMAKE_CXX_ARCHIVE_FINISH true)
|
||||||
set(CMAKE_CXX_ARCHIVE_FINISH true)
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(BUILD_QT_SDL "Build Qt/SDL frontend" ON)
|
option(BUILD_QT_SDL "Build Qt/SDL frontend" ON)
|
||||||
|
|
Loading…
Reference in New Issue