1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

CMake conversion, further steps: Now it compiles on Visual Studio 2013.

This commit is contained in:
bubnikv
2017-08-17 18:27:51 +02:00
parent bb36e78428
commit c0f099c2cf
4 changed files with 45 additions and 15 deletions
+1 -2
View File
@@ -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)