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:
authortamasmeszaros <meszaros.q@gmail.com>2018-11-19 19:58:08 +0300
committertamasmeszaros <meszaros.q@gmail.com>2018-11-19 19:58:08 +0300
commit87d49cf82ffafc409858dc8ccfa54bd6fedc11d9 (patch)
treee1bde48012c4a29a06162667edcfb6fa658ed466 /src/CMakeLists.txt
parentad8c7c9f9771968b45e5a5169abf97d6f0199324 (diff)
Adding object elevation param.
Quick attempt to build with MinGW 7.3. Successful compile, failed linking
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 32d2c5b03..21ee023d1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -80,7 +80,7 @@ elseif (MSVC)
# Manifest is provided through slic3r.rc, don't generate your own.
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")
else ()
- target_link_libraries(slic3r -ldl -lstdc++)
+ target_link_libraries(slic3r ${CMAKE_DL_LIBS} -lstdc++)
endif ()
# Add the Slic3r GUI library, libcurl, OpenGL and GLU libraries.