no-ffmpeg: don't try to define _view()

This commit is contained in:
nick black 2019-12-27 01:29:45 -05:00 committed by Nick Black
parent bd034c983a
commit cf2712ec6d

View File

@ -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})