summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-platform.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-08-22 13:31:56 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-08-23 00:05:15 +0200
commita643a92efb9dacec0442152c77b9a57bb7590ece (patch)
tree9ebdda7eba91e49d2ab935bd12df467a17e73805 /cmake/opentrack-platform.cmake
parent8a80cba8c336eb39a69aadde8d2c44b8f9c54026 (diff)
cmake: go back to c++11
We don't use c++14 features yet, and GNU 5.3.0 has missing make_unique anyway.
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r--cmake/opentrack-platform.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index ab11a780..0cb596a2 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -31,7 +31,6 @@ set(CMAKE_AUTOMOC OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
include_directories(${CMAKE_SOURCE_DIR})
-#include_directories(${CMAKE_CURRENT_SOURCE_DIR})
# note, hatire supports both ftnoir and opentrack
# don't remove without being sure as hell -sh 20140922
@@ -54,7 +53,7 @@ if(APPLE)
endif()
if(CMAKE_COMPILER_IS_GNUCXX OR APPLE)
- set(CMAKE_CXX_FLAGS " -std=c++14 ${CMAKE_CXX_FLAGS} ")
+ set(CMAKE_CXX_FLAGS " -std=c++11 ${CMAKE_CXX_FLAGS} ")
endif()
set_property(GLOBAL PROPERTY USE_FOLDERS OFF)