mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
rbutil: Explicitly use C++17 and C11 for building (was "compiler default")
Change-Id: I9757a77520fc9d7d39a52185b92615d5eb9c0cbc
This commit is contained in:
parent
cf10fa5243
commit
aeb42039f9
3 changed files with 4 additions and 1 deletions
|
|
@ -42,7 +42,6 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|||
add_link_options($<$<CONFIG:RELEASE>:-s>)
|
||||
endif()
|
||||
|
||||
|
||||
enable_testing()
|
||||
|
||||
# Qt
|
||||
|
|
|
|||
|
|
@ -106,6 +106,8 @@ add_executable(RockboxUtility WIN32 MACOSX_BUNDLE
|
|||
${CMAKE_CURRENT_BINARY_DIR}/rbutilqt-lang.qrc
|
||||
)
|
||||
|
||||
target_compile_features(RockboxUtility PRIVATE cxx_std_17 c_std_11)
|
||||
|
||||
if(WIN32)
|
||||
target_sources(RockboxUtility PRIVATE
|
||||
${CMAKE_CURRENT_LIST_DIR}/rbutilqt-win.qrc
|
||||
|
|
|
|||
|
|
@ -110,6 +110,8 @@ set_target_properties(RockboxThemeEditor PROPERTIES AUTOMOC ON)
|
|||
set_target_properties(RockboxThemeEditor PROPERTIES AUTORCC ON)
|
||||
set_target_properties(RockboxThemeEditor PROPERTIES AUTOUIC ON)
|
||||
|
||||
target_compile_features(RockboxThemeEditor PRIVATE cxx_std_17 c_std_11)
|
||||
|
||||
target_link_libraries(RockboxThemeEditor
|
||||
Qt${QT_VERSION_MAJOR}::Network Qt${QT_VERSION_MAJOR}::Widgets Qt${QT_VERSION_MAJOR}::Core
|
||||
skin_parser z ${QUAZIP_LIBRARY})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue