Move installation of watchwords.json to root CMakeLists.txt
continuous-integration/drone/push Build is failing Details

This commit is contained in:
tastytea 2019-12-28 08:03:34 +01:00
parent 8650c3cc6b
commit ca2b9a16e4
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 5 additions and 3 deletions

View File

@ -26,10 +26,15 @@ set(CMAKE_CXX_EXTENSIONS OFF)
include(debug_flags)
include(GNUInstallDirs)
add_subdirectory(src)
if(WITH_MAN)
add_subdirectory(man)
endif()
install(FILES watchwords.json
DESTINATION "${CMAKE_INSTALL_DATADIR}/mastorss")
# include(cmake/packages.cmake)

View File

@ -38,6 +38,3 @@ if(BUILD_SHARED_LIBS)
target_compile_definitions(mastorss PRIVATE "BOOST_ALL_DYN_LINK=1")
endif()
install(TARGETS mastorss DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(FILES watchwords.json
DESTINATION "${CMAKE_INSTALL_DATADIR}/mastorss")