diff --git a/overlay_gl/CMakeLists.txt b/overlay_gl/CMakeLists.txt index f8e16a2afdf..04436643207 100644 --- a/overlay_gl/CMakeLists.txt +++ b/overlay_gl/CMakeLists.txt @@ -96,6 +96,11 @@ if(NOT APPLE) "-ldl" "-lrt" ) + endif() + endif() + + if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") + if(TARGET overlay_gl_x86) # install 32bit overlay library install(TARGETS overlay_gl_x86 LIBRARY DESTINATION "${MUMBLE_INSTALL_LIBDIR}") endif()