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/supplemental/util/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/supplemental') diff --git a/src/supplemental/util/CMakeLists.txt b/src/supplemental/util/CMakeLists.txt index 07dba939..443473d6 100644 --- a/src/supplemental/util/CMakeLists.txt +++ b/src/supplemental/util/CMakeLists.txt @@ -8,8 +8,8 @@ # found online at https://opensource.org/licenses/MIT. # -set(SUPP_PLATFORM_SOURCES - supplemental/util/platform.c) +set(SUPP_PLATFORM_SOURCES supplemental/util/platform.c) +set(SUPP_PLATFORM_HEADERS supplemental/util/platform.h) -install(FILES platform.h DESTINATION include/nng/supplemental/util) set(NNG_SOURCES ${NNG_SOURCES} ${SUPP_PLATFORM_SOURCES} PARENT_SCOPE) +set(NNG_HEADERS ${NNG_HEADERS} ${SUPP_PLATFORM_HEADERS} PARENT_SCOPE) -- cgit v1.2.3-70-g09d2