Another problem with C++11 on the Docke container

This commit is contained in:
Bertrand Songis
2016-05-05 12:32:27 +02:00
parent addb51b25a
commit 5409d00a2a
+1 -1
View File
@@ -22,6 +22,7 @@ if(Qt5Widgets_FOUND)
add_dependencies(${SIMULATOR_TARGET} ${FIRMWARE_DEPENDENCIES}) add_dependencies(${SIMULATOR_TARGET} ${FIRMWARE_DEPENDENCIES})
target_link_libraries(${SIMULATOR_TARGET} ${SDL_LIBRARY}) target_link_libraries(${SIMULATOR_TARGET} ${SDL_LIBRARY})
qt5_use_modules(${SIMULATOR_TARGET} Core) qt5_use_modules(${SIMULATOR_TARGET} Core)
add_definitions(-std=gnu++11)
add_custom_target(libsimulator DEPENDS ${SIMULATOR_TARGET}) add_custom_target(libsimulator DEPENDS ${SIMULATOR_TARGET})
endif() endif()
@@ -41,7 +42,6 @@ else()
endif() endif()
if(NOT WIN32) if(NOT WIN32)
if(SIMU_DISKIO) if(SIMU_DISKIO)
add_definitions(-DSIMU_DISKIO) add_definitions(-DSIMU_DISKIO)
set(SIMU_SRC ${SIMU_SRC} ../../thirdparty/FatFs/ff.c ../../thirdparty/FatFs/option/ccsbcs.c) set(SIMU_SRC ${SIMU_SRC} ../../thirdparty/FatFs/ff.c ../../thirdparty/FatFs/option/ccsbcs.c)