Fix missing target

The debian target was being added  as a dependency to teh wsjtx target
even when it  doesn't exist. This isn't  allowed in CMake v3  so it no
longer added if it doesn't exist.

Merged from wsjtx-1.4 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4562 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-10-28 01:00:46 +00:00
parent d3a84572d4
commit a677e183fc

View File

@ -719,8 +719,9 @@ if (UNIX)
endif (NOT WSJT_SKIP_MANPAGES) endif (NOT WSJT_SKIP_MANPAGES)
if (NOT APPLE) if (NOT APPLE)
add_subdirectory (debian) add_subdirectory (debian)
add_dependencies (wsjtx debian)
endif (NOT APPLE) endif (NOT APPLE)
add_dependencies (wsjtx manpages debian) add_dependencies (wsjtx manpages)
endif (UNIX) endif (UNIX)
if (WSJT_CREATE_WINMAIN) if (WSJT_CREATE_WINMAIN)