another patch from Terwou: if OpenGl is not installed, fix build (previous patch by myself was incomplete) - Thanks a lot!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=734922
This commit is contained in:
parent
ae2d05c3c3
commit
bb79a14a09
@ -77,11 +77,11 @@ endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
|
||||
|
||||
kde4_add_library(plasma SHARED ${plasma_LIB_SRCS})
|
||||
|
||||
target_link_libraries(plasma ${KDE4_KIO_LIBS} ${QT_QTOPENGL_LIBRARY} ${QT_QTUITOOLS_LIBRARY})
|
||||
target_link_libraries(plasma ${KDE4_KIO_LIBS} ${QT_QTUITOOLS_LIBRARY})
|
||||
|
||||
if(OPENGL_FOUND)
|
||||
target_link_libraries(plasma ${OPENGL_gl_LIBRARY})
|
||||
endif(OPENGL_FOUND)
|
||||
if(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
|
||||
target_link_libraries(plasma ${QT_QTOPENGL_LIBRARY} ${OPENGL_gl_LIBRARY})
|
||||
endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
|
||||
|
||||
set_target_properties(plasma PROPERTIES VERSION 1.0.0 SOVERSION 1)
|
||||
install(TARGETS plasma DESTINATION ${LIB_INSTALL_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user