[Pkg-privacy-commits] [irssi-plugin-otr] 66/267: Correctly use dir name as indicator what to build.
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:26:17 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.
commit 8ec4301655655c09e2cca3bdca2b23f03db209a5
Author: Uli Meis <a.sporto+bee at gmail.com>
Date: Wed Feb 11 22:22:19 2009 +0100
Correctly use dir name as indicator what to build.
---
CMakeLists.txt | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e44fe81..e07a610 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -169,13 +169,13 @@ MARK_AS_ADVANCED(WEECHAT_INCLUDE_DIR)
FIND_PATH(XCHAT_INCLUDE_DIR NAMES xchat/xchat-plugin.h)
MARK_AS_ADVANCED(XCHAT_INCLUDE_DIR)
-IF(CMAKE_SOURCE_DIR MATCHES "irssi[^/]*$")
+IF(CMAKE_SOURCE_DIR MATCHES "irssi-[^/]*$")
SET(W_IRSSI ON)
-ELSEIF(CMAKE_SOURCE_DIR MATCHES "xchat[^/]*$")
+ELSEIF(CMAKE_SOURCE_DIR MATCHES "xchat-[^/]*$")
SET(W_XCHAT ON)
-ELSEIF(CMAKE_SOURCE_DIR MATCHES "weechat[^/]*$")
+ELSEIF(CMAKE_SOURCE_DIR MATCHES "weechat-[^/]*$")
SET(W_WEECHAT ON)
-ELSE(CMAKE_SOURCE_DIR MATCHES "irssi[^/]*$")
+ELSE(CMAKE_SOURCE_DIR MATCHES "irssi-[^/]*$")
IF(IRSSI_INCLUDE_DIR)
SET(W_IRSSI ON)
ENDIF(IRSSI_INCLUDE_DIR)
@@ -185,7 +185,7 @@ ELSE(CMAKE_SOURCE_DIR MATCHES "irssi[^/]*$")
IF(WEECHAT_INCLUDE_DIR)
SET(W_WEECHAT ON)
ENDIF(WEECHAT_INCLUDE_DIR)
-ENDIF(CMAKE_SOURCE_DIR MATCHES "irssi[^/]*$")
+ENDIF(CMAKE_SOURCE_DIR MATCHES "irssi-[^/]*$")
OPTION(WANT_IRSSI "build irssi plugin" ${W_IRSSI})
OPTION(WANT_XCHAT "build xchat plugin" ${W_XCHAT})
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git
More information about the Pkg-privacy-commits
mailing list