In src/CMakeLists.txt, the LIBRARY and ARCHIVE destinations use CMAKE_INSTALL_BINDIR:
install(TARGETS srcsax_shared srcsax_static
RUNTIME DESTINATION bin
LIBRARY DESTINATION ${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_BINDIR}
)
Also, include GNUInstallDirs before src is processed.
In
src/CMakeLists.txt, the LIBRARY and ARCHIVE destinations useCMAKE_INSTALL_BINDIR:Also, include
GNUInstallDirsbeforesrcis processed.