Missing install step in CMakeLists.txt
Closed this issue · 0 comments
OPNA2608 commented
CMakeLists.txt lacks install code for the pmdplay binary. I'm using this project in a pseudo-installation and currently patching this in to get it installed under <prefix>/bin/
.
substituteInPlace CMakeLists.txt \
--replace 'EXCLUDE_FROM_ALL' "" \
--replace \
'target_compile_options(pmdplay PUBLIC ${SDL2_FLAGS} ${SDL2_FLAGS_OTHERS})' \
'target_compile_options(pmdplay PUBLIC ${SDL2_FLAGS} ${SDL2_FLAGS_OTHERS})
install(TARGETS pmdplay DESTINATION ${CMAKE_INSTALL_BINDIR})'