cmake: Enable c++11 for all targets

This commit is contained in:
Fabio Bas 2016-03-21 11:42:38 +01:00
parent 18993b397b
commit a55b3784eb
4 changed files with 3 additions and 6 deletions

View file

@ -130,8 +130,6 @@ ENDIF()
# Build oracle binary and link it
ADD_EXECUTABLE(oracle WIN32 MACOSX_BUNDLE ${oracle_SOURCES} ${oracle_QM} ${oracle_RESOURCES_RCC} ${oracle_MOC_SRCS})
set_property(TARGET oracle PROPERTY CXX_STANDARD 11)
set_property(TARGET oracle PROPERTY CXX_STANDARD_REQUIRED ON)
if(Qt4_FOUND)
if(MSVC)