[kwin] Fix generate export header for kwinglesutils

If we build kwinglesutils we need to adjust the name of the generated
export macros to still be called kwinglutils.
This commit is contained in:
Martin Gräßlin 2014-03-05 11:35:18 +01:00
parent 4dff7888e3
commit a60d10bedd

View file

@ -48,7 +48,7 @@ set(kwin_GLUTILSLIB_SRCS
macro( KWIN4_ADD_GLUTILS_BACKEND name glinclude )
include_directories(${glinclude})
add_library(${name} SHARED ${kwin_GLUTILSLIB_SRCS})
generate_export_header(kwinglutils EXPORT_FILE_NAME kwinglutils_export.h)
generate_export_header(${name} BASE_NAME kwinglutils EXPORT_FILE_NAME kwinglutils_export.h)
target_link_libraries(${name} PUBLIC Qt5::DBus Qt5::X11Extras XCB::XCB)
if(KWIN_HAVE_EGL)
target_link_libraries(${name} PRIVATE EGL::EGL)