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

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kocik <kocikdav@gmail.com>2021-01-27 12:39:39 +0300
committerDavid Kocik <kocikdav@gmail.com>2021-01-27 12:40:38 +0300
commitfa2568a5e33acf6af96c097505665cba6f607028 (patch)
tree1f5afdc77159e3babfe72c910ba8c800085746e3 /src/CMakeLists.txt
parent4f161607c703a1863f79e783f6dc329d824583a0 (diff)
Check loading of blacklisted dlls and show warning dialog at startup. Also show these dlls in sysinfo dialog.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index acd8d465c..293cbcd79 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -140,6 +140,11 @@ target_link_libraries(PrusaSlicer libslic3r_gui)
else ()
target_link_libraries(PrusaSlicer -ldl)
endif ()
+ if (WIN32)
+ include_directories(detours)
+ find_library(PSAPI_LIB NAMES Psapi)
+ target_link_libraries(PrusaSlicer ${PSAPI_LIB})
+ endif ()
endif ()
# On Windows, a shim application is required to produce a console / non console version of the Slic3r application.