]>
Commit | Line | Data |
---|---|---|
e36aaec0 JR |
1 | --- CuraEngine-3.5.1/CMakeLists.txt~ 2018-11-04 14:38:14.000000000 +0100 |
2 | +++ CuraEngine-3.5.1/CMakeLists.txt 2018-11-04 14:48:14.120992489 +0100 | |
3 | @@ -15,10 +15,7 @@ | |
4 | add_definitions(-DARCUS) | |
5 | endif () | |
6 | ||
7 | -#For reading image files. | |
8 | -find_package(Stb REQUIRED) | |
9 | include_directories(${Stb_INCLUDE_DIRS}) | |
10 | - | |
11 | option(USE_SYSTEM_LIBS "Use the system libraries if available" OFF) | |
12 | if(USE_SYSTEM_LIBS) | |
13 | find_package(RapidJSON CONFIG REQUIRED) | |
14 | @@ -193,9 +189,6 @@ | |
15 | # Compiling CuraEngine itself. | |
16 | add_library(_CuraEngine STATIC ${engine_SRCS} ${engine_PB_SRCS}) #First compile all of CuraEngine as library, allowing this to be re-used for tests. | |
17 | ||
18 | -if (CuraEngine_Download_Stb) | |
19 | - add_dependencies(_CuraEngine stb) | |
20 | -endif() | |
21 | if(USE_SYSTEM_LIBS) | |
22 | target_link_libraries(_CuraEngine ${Polyclipping_LIBRARIES}) | |
23 | else() |