From 3a0ca04110778a56bcd523fbaba2439a61738e03 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 21 Feb 2018 19:17:30 -0800 Subject: CMake & CPack improvements. These are incremental updates... we avoid using install() in the subdirectories, so that we can adapt properly to them in the single parent directory. We have started some of the work to improve support for CPack. This is still not yet done, but work in progress. --- src/protocol/reqrep0/CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/protocol/reqrep0') diff --git a/src/protocol/reqrep0/CMakeLists.txt b/src/protocol/reqrep0/CMakeLists.txt index 4e82ad41..7b04aa2d 100644 --- a/src/protocol/reqrep0/CMakeLists.txt +++ b/src/protocol/reqrep0/CMakeLists.txt @@ -1,6 +1,6 @@ # -# Copyright 2017 Garrett D'Amore -# Copyright 2017 Capitar IT Group BV +# Copyright 2018 Staysail Systems, Inc. +# Copyright 2018 Capitar IT Group BV # # This software is supplied under the terms of the MIT License, a # copy of which should be located in the distribution where this @@ -12,12 +12,13 @@ if (NNG_PROTO_REQ0) set(REQ0_SOURCES protocol/reqrep0/req.c protocol/reqrep0/req.h) - install(FILES req.h DESTINATION include/nng/protocol/reqrep0) + set(REQ0_HEADERS protocol/reqrep0/req.h) endif() if (NNG_PROTO_REP0) set(REP0_SOURCES protocol/reqrep0/rep.c protocol/reqrep0/rep.h) - install(FILES rep.h DESTINATION include/nng/protocol/reqrep0) + set(REP0_HEADERS protocol/reqrep0/rep.h) endif() -set(NNG_SOURCES ${NNG_SOURCES} ${REQ0_SOURCES} ${REP0_SOURCES} PARENT_SCOPE) \ No newline at end of file +set(NNG_SOURCES ${NNG_SOURCES} ${REQ0_SOURCES} ${REP0_SOURCES} PARENT_SCOPE) +set(NNG_HEADERS ${NNG_HEADERS} ${REQ0_HEADERS} ${REP0_HEADERS} PARENT_SCOPE) -- cgit v1.2.3-70-g09d2