Merge pull request #3326 from wwylele/cmake-gen

cmake: add missing ${...} for variables inside generator expressions
This commit is contained in:
Yuri Kunde Schlesner 2017-12-22 22:25:42 -08:00 committed by GitHub
commit f2e1160601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)