cmake: add missing ${...} for variables inside generator expressions

This commit is contained in:
wwylele 2017-12-23 03:00:15 +02:00
parent ae42267cc7
commit 80ed0f03ac
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ add_library(audio_core STATIC
time_stretch.cpp
time_stretch.h
$<$<BOOL:SDL2_FOUND>:sdl2_sink.cpp sdl2_sink.h>
$<$<BOOL:${SDL2_FOUND}>:sdl2_sink.cpp sdl2_sink.h>
)
create_target_directory_groups(audio_core)

View File

@ -8,7 +8,7 @@ add_library(input_common STATIC
motion_emu.cpp
motion_emu.h
$<$<BOOL:SDL2_FOUND>:sdl/sdl.cpp sdl/sdl.h>
$<$<BOOL:${SDL2_FOUND}>:sdl/sdl.cpp sdl/sdl.h>
)
create_target_directory_groups(input_common)