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 21:35:20 +0300
committerFormerLurker <hochgebe@gmail.com>2021-01-18 21:35:20 +0300
commit3af9af2cdc778bbb7f481177cf3c840e6d9d1ee2 (patch)
tree1a1e4648c5d7a9321d7766ea265aceabe16a8198 /PyArcWelder
parentb35d6aa16d9dae8350a36ac0256bf68a1ac51cef (diff)
Simplify cmake
Diffstat (limited to 'PyArcWelder')
-rw-r--r--PyArcWelder/CMakeLists.txt12
1 files changed, 0 insertions, 12 deletions
diff --git a/PyArcWelder/CMakeLists.txt b/PyArcWelder/CMakeLists.txt
index e0f6147..3d17456 100644
--- a/PyArcWelder/CMakeLists.txt
+++ b/PyArcWelder/CMakeLists.txt
@@ -1,9 +1,3 @@
-cmake_minimum_required (VERSION "3.13")
-
-if(NOT CMAKE_BUILD_TYPE)
- set(CMAKE_BUILD_TYPE Release)
-endif()
-
project(PyArcWelder C CXX)
# PythonLibs is required to build a python extension
@@ -19,12 +13,6 @@ include_directories(${PYTHON_INCLUDE_DIRS} ${ArcWelder_INCLUDE_DIRS} ${GcodeProc
# PyArcWelderSources variable
include(sourcelist.cmake)
-
-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>")
-endif()
-
# Create our library
add_library(${PROJECT_NAME} SHARED ${PyArcWelderSources})