Skip to content
Snippets Groups Projects
Commit 4f59b6ee authored by Steven Murray's avatar Steven Murray
Browse files

Added Findzeromq3

parent 02b3cd02
Branches
Tags
No related merge requests found
# The CERN Tape Archive(CTA) project
# Copyright(C) 2015 CERN
#
# This program 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.
#
# This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
# This module will set the following variables:
# ZEROMQ3_FOUND
# ZEROMQ3_INCLUDE_DIRS
find_path (ZEROMQ3_INCLUDE_DIRS
zmq.h
PATHS /usr/include
NO_DEFAULT_PATH)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(zeromq3 DEFAULT_MSG
ZEROMQ3_INCLUDE_DIRS)
......@@ -24,6 +24,7 @@ include_directories(${PROJECT_SOURCE_DIR}/tapeserver)
include_directories(${PROJECT_BINARY_DIR}/tapeserver)
find_package(Protobuf REQUIRED)
find_package(zeromq3 REQUIRED)
file(GLOB ProtoFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.proto")
PROTOBUF_GENERATE_CPP(ProtoSources ProtoHeaders ${ProtoFiles})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment