diff options
author | akshay-c | 2019-05-06 10:36:48 +0530 |
---|---|---|
committer | akshay-c | 2019-05-06 10:36:48 +0530 |
commit | 183053f2d67a92694cd25a4294af98055e4369e7 (patch) | |
tree | 6cf548c8f38bd17b59c1e7ee10a613978172d3d9 /ldmicro/CMakeLists.txt | |
parent | 52b93dc4228459bd7e1204f80d983a3b29b32f1d (diff) | |
download | LDmicroQt-183053f2d67a92694cd25a4294af98055e4369e7.tar.gz LDmicroQt-183053f2d67a92694cd25a4294af98055e4369e7.tar.bz2 LDmicroQt-183053f2d67a92694cd25a4294af98055e4369e7.zip |
Fixed doubleclickevent on DrawWindow and removed namespaces
Diffstat (limited to 'ldmicro/CMakeLists.txt')
-rw-r--r-- | ldmicro/CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ldmicro/CMakeLists.txt b/ldmicro/CMakeLists.txt index 2337bcb..7010ced 100644 --- a/ldmicro/CMakeLists.txt +++ b/ldmicro/CMakeLists.txt @@ -2,17 +2,17 @@ cmake_minimum_required(VERSION 2.6) project(LDMicro) -macro(use_cxx11) +macro(use_cxx14) if (CMAKE_VERSION VERSION_LESS "3.1") if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++14") endif () else () - set (CMAKE_CXX_STANDARD 11) + set (CMAKE_CXX_STANDARD 14) endif () -endmacro(use_cxx11) +endmacro(use_cxx14) IF(WIN32) MESSAGE( FATAL_ERROR "Cannot build for windows, exiting" ) @@ -30,7 +30,7 @@ IF(UNIX) add_definitions ("-g") add_definitions(-D__UNIX__) add_definitions(-DLDLANG_EN) - use_cxx11() + use_cxx14() # set_property(DIRECTORY PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_CURRENT_SOURCE_DIR}/build/") |