much better. suggested by David.
svn path=/trunk/KDE/kdebase/workspace/; revision=663183
This commit is contained in:
parent
f18bd0b02d
commit
f15f97785b
2 changed files with 8 additions and 6 deletions
|
@ -68,9 +68,10 @@ target_link_libraries(kdeinit_kwin ${KDE4_KDEUI_LIBS} kdecorations kwineffects
|
|||
if(OPENGL_FOUND)
|
||||
target_link_libraries(kdeinit_kwin ${OPENGL_gl_LIBRARY})
|
||||
# -ldl used by OpenGL code
|
||||
if(NOT CMAKE_SYSTEM_NAME MATCHES BSD)
|
||||
target_link_libraries(kdeinit_kwin -ldl)
|
||||
endif(NOT CMAKE_SYSTEM_NAME MATCHES BSD)
|
||||
find_library(DL_LIBRARY dl)
|
||||
if (DL_LIBRARY)
|
||||
target_link_libraries(kdeinit_kwin ${DL_LIBRARY})
|
||||
endif(DL_LIBRARY)
|
||||
endif(OPENGL_FOUND)
|
||||
if (X11_Xrandr_FOUND)
|
||||
target_link_libraries(kdeinit_kwin ${X11_Xrandr_LIB})
|
||||
|
|
|
@ -40,9 +40,10 @@ install(TARGETS kwineffects DESTINATION ${LIB_INSTALL_DIR})
|
|||
if(OPENGL_FOUND)
|
||||
target_link_libraries(kwineffects ${OPENGL_gl_LIBRARY})
|
||||
# -ldl used by OpenGL code
|
||||
if(NOT CMAKE_SYSTEM_NAME MATCHES BSD)
|
||||
target_link_libraries(kwineffects -ldl)
|
||||
endif(NOT CMAKE_SYSTEM_NAME MATCHES BSD)
|
||||
find_library(DL_LIBRARY dl)
|
||||
if (DL_LIBRARY)
|
||||
target_link_libraries(kwineffects ${DL_LIBRARY})
|
||||
endif(DL_LIBRARY)
|
||||
endif(OPENGL_FOUND)
|
||||
|
||||
install( FILES kwinglobals.h kwineffects.h kwinglutils.h kwinglutils_funcs.h DESTINATION ${INCLUDE_INSTALL_DIR})
|
||||
|
|
Loading…
Reference in a new issue