Commit 28f06278 authored by jan.koester's avatar jan.koester
Browse files

test

parent 61ce29cd
Loading
Loading
Loading
Loading
+6 −0
Changes for editor/CMakeLists.txt: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -85,6 +85,12 @@ endif()

add_subdirectory(widgets)

if(NOT TARGET blogidev)
    # editor_plugin_base (plugin.cpp/conf.cpp, defining EditPluginLoad) is only
    # defined once widgets/CMakeLists.txt has run above — link it in here.
    target_link_libraries(blogi-editor PRIVATE $<TARGET_OBJECTS:editor_plugin_base>)
endif()

install(TARGETS blogi-editor DESTINATION ${CMAKE_INSTALL_BINDIR})
install(DIRECTORY html/ DESTINATION ${CMAKE_INSTALL_DATADIR}/blogi-editor/html)
install(FILES config.yaml DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/blogi-editor)