add FIXME about ffmpeg linking issues with static notcurses

This commit is contained in:
nick black 2024-12-31 04:35:15 -05:00 committed by nick black
parent 0fda32f982
commit 3ec9983f02

View File

@ -313,6 +313,8 @@ endif()
file(GLOB NCSRCS CONFIGURE_DEPENDS src/media/*.c src/media/*.cpp) file(GLOB NCSRCS CONFIGURE_DEPENDS src/media/*.c src/media/*.cpp)
add_library(notcurses SHARED ${NCSRCS} ${COMPATSRC}) add_library(notcurses SHARED ${NCSRCS} ${COMPATSRC})
if(${USE_STATIC}) if(${USE_STATIC})
# can't build binaries against static notcurses until ffmpeg linking issues
# are resolved (USE_STATIC_BINARIES) FIXME
add_library(notcurses-static STATIC ${NCSRCS} ${COMPATSRC}) add_library(notcurses-static STATIC ${NCSRCS} ${COMPATSRC})
else() else()
add_library(notcurses-static STATIC EXCLUDE_FROM_ALL ${NCSRCS} ${COMPATSRC}) add_library(notcurses-static STATIC EXCLUDE_FROM_ALL ${NCSRCS} ${COMPATSRC})