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)
|
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)
|
||||||
list(FILTER easy_header EXCLUDE REGEX "easy\.hpp$")
|
|
||||||
install(FILES src/easy/easy.hpp
|
|
||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mastodon-cpp)
|
|
||||||
install(FILES ${easy_header}
|
install(FILES ${easy_header}
|
||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mastodon-cpp/easy)
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/mastodon-cpp/easy)
|
||||||
endif()
|
endif()
|
||||||
|
|
Reference in New Issue