Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FormerLurker/ArcWelderLib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFormerLurker <hochgebe@gmail.com>2020-05-14 18:16:43 +0300
committerFormerLurker <hochgebe@gmail.com>2020-05-14 18:16:43 +0300
commitefb71a1cb55770d0d79de2ce783612737d59821a (patch)
tree73dabe71531658fac50ad027c6fb3a2524019a5b /CMakeLists.txt
parent2e42c6c32cb29615c6c24df23d232d65f7a325f5 (diff)
Fix cout buffering issue, update CMake files.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 99aa4c6..19cb971 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION "3.16")
+cmake_minimum_required (VERSION "3.13")
# You can tweak some common (for all subprojects) stuff here. For example:
project(Build C CXX)
@@ -9,6 +9,7 @@ set(CXX_STANDARD_REQUIRED)
set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
set(CMAKE_DISABLE_SOURCE_CHANGES ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+option(USE_CXX_EXCEPTIONS "Enable C++ exception support" ON)
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
message(SEND_ERROR "In-source builds are not allowed.")