Install all necessary headers.
This commit is contained in:
parent
9d72c992a2
commit
beb6910085
|
@ -90,7 +90,7 @@ endif()
|
||||||
|
|
||||||
# Install library and header files
|
# Install library and header files
|
||||||
install(TARGETS mastodon-cpp LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
install(TARGETS mastodon-cpp LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
install(FILES src/mastodon-cpp.hpp
|
install(FILES src/mastodon-cpp.hpp src/return_types.hpp src/types.hpp
|
||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mastodon-cpp)
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mastodon-cpp)
|
||||||
if(NOT WITHOUT_EASY)
|
if(NOT WITHOUT_EASY)
|
||||||
file(GLOB easy_header src/easy/*.hpp)
|
file(GLOB easy_header src/easy/*.hpp)
|
||||||
|
|
Reference in New Issue