From ac550c8a7ad4e9393c95942b48d7d97ebf4cc96a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 8 Sep 2010 00:06:30 +0200 Subject: [PATCH] Fix for the build system. Don't install veinlook when it's not built due to missing dependencies. --- tools/supported/CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/supported/CMakeLists.txt b/tools/supported/CMakeLists.txt index 8befe499c..22482f5ea 100644 --- a/tools/supported/CMakeLists.txt +++ b/tools/supported/CMakeLists.txt @@ -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)