diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2018-11-19 19:58:08 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2018-11-19 19:58:08 +0300 |
commit | 87d49cf82ffafc409858dc8ccfa54bd6fedc11d9 (patch) | |
tree | e1bde48012c4a29a06162667edcfb6fa658ed466 /src/CMakeLists.txt | |
parent | ad8c7c9f9771968b45e5a5169abf97d6f0199324 (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.txt | 2 |
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. |