From 2bac856a5b89d58a2767c6063c391248639f343f Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 28 Oct 2014 10:51:28 +0000 Subject: [PATCH] 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9619585bf..4ec71f17c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)