Skip to content

Commit

Permalink
Use for libdl
Browse files Browse the repository at this point in the history
  • Loading branch information
kintel committed Apr 5, 2023
1 parent 7ae346b commit 92e0b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -565,7 +565,7 @@ elseif(UNIX)
src/glview/offscreen-old/OffscreenContextGLX.cc
src/glview/OffscreenContextGLX.cc)
find_library(X11_LIBRARY X11)
target_link_libraries(OpenSCAD PRIVATE ${X11_LIBRARY} dl)
target_link_libraries(OpenSCAD PRIVATE ${X11_LIBRARY} ${CMAKE_DL_LIBS})
endif()
endif()
elseif(WIN32)
Expand Down

0 comments on commit 92e0b03

Please sign in to comment.