input_common: Remove redundant target_sources in CMakeLists

This commit is contained in:
Lioncash 2017-12-14 19:21:02 -05:00
parent 542f14d3c5
commit 761101f64c

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)