fixed build script (header location)

This commit is contained in:
tastytea 2018-04-01 04:30:58 +02:00
parent 4f66554271
commit 04f9a34dcd
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
1 changed files with 0 additions and 3 deletions

View File

@ -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()