Remove redundant conditional, add missing newline

This commit is contained in:
Donny Lawrence 2018-05-28 17:38:32 -05:00
parent ef0170388f
commit 87a05913f8
2 changed files with 2 additions and 4 deletions

View File

@ -90,9 +90,7 @@ composite_sources(p3display P3DISPLAY_SOURCES)
add_component_library(p3display SYMBOL BUILDING_PANDA_DISPLAY
${P3DISPLAY_HEADERS} ${P3DISPLAY_SOURCES})
target_link_libraries(p3display p3cull p3pgraphnodes)
if(HAVE_X11)
target_use_packages(p3display X11)
endif()
target_interrogate(p3display ALL EXTENSIONS ${P3DISPLAY_IGATEEXT})
install(TARGETS p3display DESTINATION lib)