fixed build script (header location)
This commit is contained in:
parent
4f66554271
commit
04f9a34dcd
|
@ -54,9 +54,6 @@ install(FILES src/mastodon-cpp.hpp
|
|||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mastodon-cpp)
|
||||
if(NOT WITHOUT_EASY)
|
||||
file(GLOB easy_header src/easy/*.hpp)
|
||||
list(FILTER easy_header EXCLUDE REGEX "easy\.hpp$")
|
||||
install(FILES src/easy/easy.hpp
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mastodon-cpp)
|
||||
install(FILES ${easy_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mastodon-cpp/easy)
|
||||
endif()
|
||||
|
|
Reference in New Issue