diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f2e0e5c..5331ca2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,10 @@ project (synergy C CXX) option (SYNERGY_BUILD_LEGACY_SERVICE "Build the legacy service (synergyd)" ON) option (SYNERGY_BUILD_LEGACY_INSTALLER "Build the installer" ON) +set (CMAKE_CXX_STANDARD 14) +set (CMAKE_CXX_EXTENSIONS OFF) +set (CMAKE_CXX_STANDARD_REQUIRED ON) + set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") set (CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")