Update project to C++11 compilation.

This commit is contained in:
Gavin Bises 2015-07-03 10:02:31 -04:00
parent 9159958c78
commit 8ed9d35724
3 changed files with 9 additions and 3 deletions

View file

@ -125,6 +125,8 @@ 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)
@ -228,4 +230,4 @@ Translations = Resources/translations\")
include(BundleUtilities)
fixup_bundle(\"\${CMAKE_INSTALL_PREFIX}/oracle.exe\" \"\${QTPLUGINS}\" \"${libSearchDirs}\")
" COMPONENT Runtime)
endif()
endif()