Install qjsc as part of the install target

Fixes: https://github.com/quickjs-ng/quickjs/issues/730
This commit is contained in:
Saúl Ibarra Corretgé 2024-12-02 09:09:20 +01:00
parent fd054b7231
commit 685a9bc171

View file

@ -392,6 +392,7 @@ if(NOT IOS)
install(FILES quickjs-libc.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
endif()
install(TARGETS qjs_exe RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS qjsc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install(TARGETS qjs EXPORT qjsConfig
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}