Closed
Description
CMake has a bug:
# install libraries
install(TARGETS PlayRho
EXPORT PlayRho-targets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
COMPONENT Library
)
COMPONENT Library
must be the second line. When it is the last one, both words are interpreted as include directories!
(See similar issue here: https://gitlab.kitware.com/cmake/cmake/-/issues/20636)