don't build ncls, nctetris, or ncplayer on windows for now

dankamongmen/iterm2complete
nick black 3 years ago committed by nick black
parent 6154fbcb56
commit 187757e22e

@ -565,6 +565,7 @@ target_link_libraries(notcurses-input
############################################################################ ############################################################################
# nctetris # nctetris
if(NOT WIN32)
file(GLOB TETRISSRC CONFIGURE_DEPENDS src/tetris/*.cpp) file(GLOB TETRISSRC CONFIGURE_DEPENDS src/tetris/*.cpp)
add_executable(nctetris ${TETRISSRC}) add_executable(nctetris ${TETRISSRC})
target_include_directories(nctetris target_include_directories(nctetris
@ -577,6 +578,7 @@ target_link_libraries(nctetris
PRIVATE PRIVATE
notcurses++ notcurses++
) )
endif()
############################################################################ ############################################################################
# ncneofetch # ncneofetch
@ -601,7 +603,7 @@ file(GLOB MANSOURCE1 CONFIGURE_DEPENDS doc/man/man1/*.md)
file(GLOB MANSOURCE3 CONFIGURE_DEPENDS doc/man/man3/*.md) file(GLOB MANSOURCE3 CONFIGURE_DEPENDS doc/man/man3/*.md)
# all further binaries require multimedia support # all further binaries require multimedia support
if(${USE_MULTIMEDIA} STREQUAL "none") if(${USE_MULTIMEDIA} STREQUAL "none" OR WIN32)
list(FILTER MANSOURCE1 EXCLUDE REGEX "ncls.1.md") list(FILTER MANSOURCE1 EXCLUDE REGEX "ncls.1.md")
list(FILTER MANSOURCE1 EXCLUDE REGEX "ncplayer.1.md") list(FILTER MANSOURCE1 EXCLUDE REGEX "ncplayer.1.md")
else() else()

Loading…
Cancel
Save