]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Dolphin plugin: fix build with branding
authorOlivier Goffart <ogoffart@woboq.com>
Wed, 4 May 2016 12:19:18 +0000 (14:19 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Wed, 4 May 2016 12:19:18 +0000 (14:19 +0200)
Make sure that the name of the _export.h file is the same no matter the plugin

shell_integration/dolphin/CMakeLists.txt

index b333fa005dae109a0ec7c7c444df8c416d59c018..33ab47f4feda747e2186d15cb8a40fabf80f8a9d 100644 (file)
@@ -36,7 +36,7 @@ endif()
 set(OWNCLOUDDOLPHINHELPER ${APPLICATION_EXECUTABLE}dolphinpluginhelper)
 add_library(${OWNCLOUDDOLPHINHELPER} SHARED ownclouddolphinpluginhelper.cpp)
 target_link_libraries(${OWNCLOUDDOLPHINHELPER} Qt5::Network)
-generate_export_header(${OWNCLOUDDOLPHINHELPER})
+generate_export_header(${OWNCLOUDDOLPHINHELPER} BASE_NAME ownclouddolphinpluginhelper)
 install(TARGETS ${OWNCLOUDDOLPHINHELPER} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
 
 #---OVERLAY PLUGIN---