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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-08-17 19:27:51 +0300
committerbubnikv <bubnikv@gmail.com>2017-08-17 19:27:51 +0300
commitc0f099c2cf5413dd386bd08250ee9c0d95b0bba6 (patch)
tree6b45d010074900b00e261fcc8638779cff6dbcf5 /CMakeLists.txt
parentbb36e78428bd05855fd6bd74807749547597d995 (diff)
CMake conversion, further steps: Now it compiles on Visual Studio 2013.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d962586d8..6ec5cce58 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,8 +17,7 @@ option(SLIC3R_HAS_BROKEN_CROAK "Compile Slic3r for a broken Strawberry Perl 64b
option(SLIC3R_MSVC_COMPILE_PARALLEL "Compile on Visual Studio in parallel" 1)
if (MSVC AND SLIC3R_MSVC_COMPILE_PARALLEL)
- set(CMAKE_C_FLAGS ${CMAKE_CXX_FLAGS} /MP)
- set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} /MP)
+ add_compile_options(/MP)
endif ()
add_subdirectory(xs)