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>2021-01-18 17:53:38 +0300
committerFormerLurker <hochgebe@gmail.com>2021-01-18 17:53:38 +0300
commit4d7375393fa603d3a2b14425a9c269ca521823ee (patch)
tree7dc3f3cfac648b6a8102be4589ff97d07cde51b2 /ArcWelder
parentccd83aaeb03555b03ca76cc8422fbd71006f263e (diff)
Update cmakelist version and default build type
Diffstat (limited to 'ArcWelder')
-rw-r--r--ArcWelder/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/ArcWelder/CMakeLists.txt b/ArcWelder/CMakeLists.txt
index 5a1569b..3a8dd33 100644
--- a/ArcWelder/CMakeLists.txt
+++ b/ArcWelder/CMakeLists.txt
@@ -1,4 +1,8 @@
-cmake_minimum_required (VERSION "3.15")
+cmake_minimum_required (VERSION "3.13")
+
+if(NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE Release)
+endif()
project(ArcWelder C CXX)
@@ -17,7 +21,6 @@ include(sourcelist.cmake)
# Add a library using our ArcWelderSources variable from our sourcelist file
add_library(${PROJECT_NAME} STATIC ${ArcWelderSources})
-
if(MSVC)
# link to the msvc runtime statically, keeping debug info if we are in debug config
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")