diff options
author | bubnikv <bubnikv@gmail.com> | 2017-08-17 19:27:51 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-08-17 19:27:51 +0300 |
commit | c0f099c2cf5413dd386bd08250ee9c0d95b0bba6 (patch) | |
tree | 6b45d010074900b00e261fcc8638779cff6dbcf5 /CMakeLists.txt | |
parent | bb36e78428bd05855fd6bd74807749547597d995 (diff) |
CMake conversion, further steps: Now it compiles on Visual Studio 2013.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
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) |