From 06ff30f9164c9caa3a69714f48266a11c5d358a2 Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 26 Aug 2021 08:41:32 -0400 Subject: [PATCH] don't build compat.c with every poc --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b63ea09c..acd597cda 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -496,7 +496,7 @@ if(USE_POC) file(GLOB POCSRCS CONFIGURE_DEPENDS src/poc/*.c) foreach(f ${POCSRCS}) get_filename_component(fe "${f}" NAME_WE) - add_executable(${fe} ${f} ${COMPATSRC}) + add_executable(${fe} ${f}) target_include_directories(${fe} PRIVATE include src "${TERMINFO_INCLUDE_DIRS}" "${PROJECT_BINARY_DIR}/include" @@ -511,7 +511,7 @@ endforeach() file(GLOB POCPPSRCS CONFIGURE_DEPENDS src/pocpp/*.cpp) foreach(f ${POCPPSRCS}) get_filename_component(fe "${f}" NAME_WE) - add_executable(${fe} ${f} ${COMPATSRC}) + add_executable(${fe} ${f}) target_include_directories(${fe} PRIVATE include src "${TERMINFO_INCLUDE_DIRS}" "${PROJECT_BINARY_DIR}/include"