Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not installing .wasm #11

Closed
lecopivo opened this issue Dec 14, 2017 · 1 comment
Closed

Not installing .wasm #11

lecopivo opened this issue Dec 14, 2017 · 1 comment

Comments

@lecopivo
Copy link

lecopivo commented Dec 14, 2017

install(TARGETS MyApplication DESTINATION ${CMAKE_INSTALL_PREFIX})

Then building to wasm then the installation does not copy the MyApplication.wasm file to the install destination.

Can be fixed by adding line
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/MyApplication.wasm DESTINATION ${CMAKE_INSTALL_PREFIX} OPTIONAL)
But I'm not sure if this is the cleanest solution there is. The OPTIONAL is there not to break other builds.

Tomas

@mosra
Copy link
Owner

mosra commented Dec 14, 2017

Huh, apparently with the wasm support I updated everything except this project. Fixed in cc7e4bf. Thanks!

@mosra mosra closed this as completed Dec 14, 2017
@mosra mosra added this to the 2018.02 milestone Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants