Merge pull request #3294 from lioncash/redundant

input_common: Remove redundant target_sources in CMakeLists
This commit is contained in:
Yuri Kunde Schlesner 2017-12-15 01:03:32 -05:00 committed by GitHub
commit b89f347a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,14 +11,6 @@ add_library(input_common STATIC
$<$<BOOL:SDL2_FOUND>:sdl/sdl.cpp sdl/sdl.h> $<$<BOOL:SDL2_FOUND>:sdl/sdl.cpp sdl/sdl.h>
) )
if(SDL2_FOUND)
target_sources(input_common
PRIVATE
sdl/sdl.cpp
sdl/sdl.h
)
endif()
create_target_directory_groups(input_common) create_target_directory_groups(input_common)
target_link_libraries(input_common PUBLIC core PRIVATE common) target_link_libraries(input_common PUBLIC core PRIVATE common)