From 599103486c8529d2fdacec8e83e5d18f9ad12f47 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Wed, 5 Jul 2017 21:17:15 +0200 Subject: cmake: attempt to add C++11 support. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b5928e0..bfde168 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,4 +45,6 @@ target_link_libraries(${PROJECT_WX}) set(CMAKE_BUILD_TYPE Release) +set (CMAKE_CXX_STANDARD 11) + install(TARGETS ${PROJECT_WX} RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) -- cgit v1.2.3