cmake: kill GLOB rule

This commit is contained in:
nick black 2020-01-01 10:11:48 -05:00
parent 029142e2c2
commit 6cfdeca95d
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -26,8 +26,7 @@ endif()
find_library(LIBRT rt)
# libnotcurses
file(GLOB LIBSRCS CONFIGURE_DEPENDS src/lib/*.c)
add_library(notcurses SHARED ${LIBSRCS})
add_library(notcurses SHARED src/lib/enmetric.c src/lib/fade.c src/lib/input.c src/lib/libav.c src/lib/notcurses.c src/lib/panelreel.c src/lib/render.c)
set_target_properties(notcurses PROPERTIES
PUBLIC_HEADER "include/notcurses.h"
VERSION ${PROJECT_VERSION}