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

In the cmake module, installing multiple data files from a variable does not work #46

Closed
mmomtchev opened this issue Oct 4, 2024 · 1 comment · Fixed by #47
Closed

Comments

@mmomtchev
Copy link
Owner

set(INSTALL_FILES data-static2.txt data-static3.txt)
install(FILES ${INSTALL_FILES} DESTINATION share)

produces:

../subprojects/data/meson.build:3:0: ERROR: File /home/mmom/src/meson/test cases/cmake/30 install files/subprojects/data/data-static2.txt;data-static3.txt does not exist.
@mmomtchev
Copy link
Owner Author

The element produced by the parser is:

CMake TRACE: /home/mmom/src/meson/test cases/cmake/30 install files/subprojects/data/CMakeLists.txt:10 install(['FILES', 'data-static2.txt;data-static3.txt', 'DESTINATION', 'share'])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant