test/pts: fix cmake compile

This commit is contained in:
Milanka Ringwald 2020-07-24 14:48:15 +02:00
parent cf95ebe8f4
commit 35e570115f

View File

@ -129,7 +129,7 @@ file(GLOB EXAMPLES_GATT "*.gatt")
# create targets
foreach(EXAMPLE_FILE ${EXAMPLES_C})
get_filename_component(EXAMPLE ${EXAMPLE_FILE} NAME_WE)
set (SOURCE_FILES ${EXAMPLE_FILE})
set (SOURCE_FILES ${EXAMPLE_FILE} btstack_stdin_pts.c)
# add GATT DB creation
if ( "${EXAMPLES_GATT}" MATCHES ${EXAMPLE} )