Skip to content
Snippets Groups Projects
Commit 359ee117 authored by Omveer's avatar Omveer
Browse files

cppzmq INTERFACE library Target is added.

parent 9fb721e0
No related branches found
No related tags found
1 merge request!963FairRootTargets.cmake module added:
......@@ -13,6 +13,10 @@ if(DOWNLOAD_EXTERNALS)
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cppzmq
TEST_FILE zmq.hpp
)
add_library(cppzmq INTERFACE)
target_include_directories(cppzmq INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/cppzmq)
# Install header files
install(FILES cppzmq/zmq.hpp DESTINATION include)
......@@ -87,6 +91,11 @@ else()
IMPORTED_LOCATION external::fles_monitoring-NOTFOUND
)
set(LIBRARY_OUTPUT_PATH "${CMAKE_BINARY_DIR}/lib")
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin")
set(INCLUDE_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/include")
set(CMAKE_INSTALL_LIBDIR lib)
# Define an empty macro such that ctest is happy when no externals are
# available
# This is needed since to speed up the execution of the code format check
......
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