Move installation of watchwords.json to root CMakeLists.txt
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
8650c3cc6b
commit
ca2b9a16e4
|
@ -26,10 +26,15 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
include(debug_flags)
|
include(debug_flags)
|
||||||
|
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
||||||
if(WITH_MAN)
|
if(WITH_MAN)
|
||||||
add_subdirectory(man)
|
add_subdirectory(man)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
install(FILES watchwords.json
|
||||||
|
DESTINATION "${CMAKE_INSTALL_DATADIR}/mastorss")
|
||||||
|
|
||||||
# include(cmake/packages.cmake)
|
# include(cmake/packages.cmake)
|
||||||
|
|
|
@ -38,6 +38,3 @@ if(BUILD_SHARED_LIBS)
|
||||||
target_compile_definitions(mastorss PRIVATE "BOOST_ALL_DYN_LINK=1")
|
target_compile_definitions(mastorss PRIVATE "BOOST_ALL_DYN_LINK=1")
|
||||||
endif()
|
endif()
|
||||||
install(TARGETS mastorss DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
install(TARGETS mastorss DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||||
|
|
||||||
install(FILES watchwords.json
|
|
||||||
DESTINATION "${CMAKE_INSTALL_DATADIR}/mastorss")
|
|
||||||
|
|
Loading…
Reference in New Issue