Skip to content
Snippets Groups Projects
Commit bb66ca6e authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #7342: Added FindQPID support to CMake, and updated lhn001,2 variant...

Task #7342: Added FindQPID support to CMake, and updated lhn001,2 variant files to include QPID install locations
parent 890cfc7d
No related branches found
No related tags found
No related merge requests found
......@@ -2217,6 +2217,7 @@ CMake/variants/variants.dop282 -text
CMake/variants/variants.fs0 -text
CMake/variants/variants.gpu01 -text
CMake/variants/variants.gpu1 -text
CMake/variants/variants.lhn002 -text
CMake/variants/variants.node501 -text
CMake/variants/variants.node502 -text
CMake/variants/variants.node503 -text
......
# - Try to find QPID: Apache's implementation of the AMPQ protocol
# Variables used by this module:
# QPID_ROOT_DIR - QPID root directory
# Variables defined by this module:
# QPID_FOUND - system has QPID
# QPID_INCLUDE_DIR - the QPID include directory (cached)
# QPID_INCLUDE_DIRS - the QPID include directories
# (identical to QPID_INCLUDE_DIR)
# QPID_LIBRARY - the QPID library (cached)
# QPID_LIBRARIES - the QPID libraries
# (identical to QPID_LIBRARY)
# Copyright (C) 2015
# ASTRON (Netherlands Institute for Radio Astronomy)
# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
#
# This file is part of the LOFAR software suite.
# The LOFAR software suite is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# The LOFAR software suite is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with the LOFAR software suite. If not, see <http://www.gnu.org/licenses/>.
#
# $Id$
if(NOT QPID_FOUND)
find_path(QPID_INCLUDE_DIR qpid/messaging/Connection.h
HINTS ${QPID_ROOT_DIR} PATH_SUFFIXES include)
find_library(QPID_LIBRARY qpidmessaging
HINTS ${QPID_ROOT_DIR} PATH_SUFFIXES lib)
mark_as_advanced(QPID_INCLUDE_DIR QPID_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(QPID DEFAULT_MSG
QPID_LIBRARY QPID_INCLUDE_DIR)
set(QPID_INCLUDE_DIRS ${QPID_INCLUDE_DIR})
set(QPID_LIBRARIES ${QPID_LIBRARY})
endif(NOT QPID_FOUND)
......@@ -4,6 +4,8 @@ set(DAL_ROOT_DIR /opt/cep/dal/current)
set(PYRAP_ROOT_DIR /opt/cep/pyrap)
set(QPID_ROOT_DIR /opt/cep/qpid)
set(WCSLIB_ROOT_DIR /opt/cep/wcslib)
set(LOG4CXX_ROOT_DIR /opt/cep/LofIm/external/log4cxx)
......
set(CASACORE_ROOT_DIR /opt/cep/casacore)
set(CASAREST_ROOT_DIR /opt/cep/casarest)
set(DAL_ROOT_DIR /opt/cep/dal/current)
set(PYRAP_ROOT_DIR /opt/cep/pyrap)
set(WCSLIB_ROOT_DIR /opt/cep/wcslib)
set(LOG4CXX_ROOT_DIR /opt/cep/LofIm/external/log4cxx)
set(LOG4CPLUS_ROOT_DIR /opt/cep/lofar/external/log4cplus)
#set(ENV{JAVA_HOME} /usr/lib/jvm/java-1.5.0-sun)
set(CTEST_CUSTOM_WARNING_EXCEPTION
"/log4cxx/helpers/objectptr.h:[0-9]+: warning: base class"
"/log4cxx/helpers/objectptr.h:[0-9]+: warning: dereferencing type-punned pointer"
)
# Drop the now default C++ debug compile flag -D_GLIBCXX_DEBUG, because Python
# (or Boost.Python) barfs on it (glibc detected: python free(): invalid pointer)
set(GNU_CXX_FLAGS_DEBUG "-g")
variants.lhn001
\ No newline at end of file
......@@ -153,6 +153,9 @@
/* Define if using Rational Purify */
#cmakedefine HAVE_PURIFY 1
/* Define if QPID is installed */
#cmakedefine HAVE_QPID 1
/* Define if readline is installed */
#cmakedefine HAVE_READLINE 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment