Move installation of watchwords.json to root CMakeLists.txt
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
8650c3cc6b
commit
ca2b9a16e4
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user