Skip to content
Commit 04437376 authored by Keith Packard's avatar Keith Packard Committed by Fabio Baltieri
Browse files

boards/posix: Handle SDL2 compile vars with multiple values



When transforming SDL2_LIBRARIES and SDL2_INCLUDE_DIRS into compile
options, each member needs to be preceeded by -l or -I. Use the cmake
list(TRANFORM) operation to prepend the flag to each list element instead
of just prepending the flag to the entire list.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 6564e8b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment