Fix for the build system.

Don't install veinlook when it's not built due to missing dependencies.
develop
Petr Mrázek 2010-09-08 00:06:30 +02:00
parent f6b137230a
commit ac550c8a7a
1 changed files with 1 additions and 6 deletions

@ -70,6 +70,7 @@ TARGET_LINK_LIBRARIES(dfweather dfhack)
IF(UNIX)
SET(VEINLOOK_BUILT "NO")
SET(CURSES_NEED_WIDE "YES")
SET(CURSES_NEED_NCURSES "NO")
find_package(Curses QUIET)
@ -122,9 +123,3 @@ dfliquids
dfweather
RUNTIME DESTINATION bin
)
IF(UNIX)
install(TARGETS
dfveinlook
RUNTIME DESTINATION bin
)
ENDIF(UNIX)