Fix missing manpages dependency

CMake  v3  complains  about   missing  dependencies  so  the  manpages
dependency must not be added to the wsjtx target unless it exists.

Merged from wsjtx-1.4 branch.



git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4564 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-10-28 10:51:28 +00:00
parent b2e34418df
commit 2bac856a5b

View File

@ -716,12 +716,12 @@ qt5_use_modules (wsjtx Widgets OpenGL Network Multimedia)
if (UNIX)
if (NOT WSJT_SKIP_MANPAGES)
add_subdirectory (manpages)
add_dependencies (wsjtx manpages)
endif (NOT WSJT_SKIP_MANPAGES)
if (NOT APPLE)
add_subdirectory (debian)
add_dependencies (wsjtx debian)
endif (NOT APPLE)
add_dependencies (wsjtx manpages)
endif (UNIX)
if (WSJT_CREATE_WINMAIN)