From cf2712ec6d78845ad67a61a16f1df5d888a24a33 Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 27 Dec 2019 01:29:45 -0500 Subject: [PATCH] no-ffmpeg: don't try to define _view() --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7ba1bcbd..b8c584571 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,7 +157,6 @@ target_compile_definitions(notcurses-planereel file(GLOB VIEWSRCS CONFIGURE_DEPENDS src/view/*.cpp) if(NOT "${DISABLE_FFMPEG}") add_executable(notcurses-view ${VIEWSRCS}) -endif() target_include_directories(notcurses-view PRIVATE include @@ -184,6 +183,7 @@ target_compile_definitions(notcurses-view PRIVATE FORTIFY_SOURCE=2 ) +endif() file(GLOB TESTSRCS CONFIGURE_DEPENDS tests/*.cpp) add_executable(notcurses-tester ${TESTSRCS})