Include config in package when build (#336)

This commit is contained in:
Anders Jenbo 2025-06-19 03:15:39 +02:00 committed by GitHub
parent f6d0b3c582
commit 6563cf2236
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -630,6 +630,11 @@ install(TARGETS isle ${install_extra_targets}
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
)
if (ISLE_BUILD_CONFIG)
install(TARGETS config
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
)
endif()
if(EMSCRIPTEN)
install(FILES "$<TARGET_FILE_DIR:isle>/isle.js" "$<TARGET_FILE_DIR:isle>/isle.wasm"
DESTINATION "${CMAKE_INSTALL_BINDIR}"