From 97088a9e060a27731a0c20b235df7ab77a95191c Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 28 Oct 2014 10:49:54 +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. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx-1.4@4563 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 04bbc85cb..0a88c3804 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -708,12 +708,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) set_target_properties (wsjtx PROPERTIES