From a60d10bedd7aa76174266d29b05c544582b08a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 5 Mar 2014 11:35:18 +0100 Subject: [PATCH] [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. --- libkwineffects/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkwineffects/CMakeLists.txt b/libkwineffects/CMakeLists.txt index 39ebf4925f..45b4e22b1a 100644 --- a/libkwineffects/CMakeLists.txt +++ b/libkwineffects/CMakeLists.txt @@ -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)