diff options
Diffstat (limited to 'src/supplemental/base64/CMakeLists.txt')
| -rw-r--r-- | src/supplemental/base64/CMakeLists.txt | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/supplemental/base64/CMakeLists.txt b/src/supplemental/base64/CMakeLists.txt index b4c92e6a..653ea711 100644 --- a/src/supplemental/base64/CMakeLists.txt +++ b/src/supplemental/base64/CMakeLists.txt @@ -1,6 +1,5 @@ # -# Copyright 2017 Capitar IT Group BV <info@capitar.com> -# Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> # # This software is supplied under the terms of the MIT License, a # copy of which should be located in the distribution where this @@ -8,10 +7,9 @@ # found online at https://opensource.org/licenses/MIT. # -if (NNG_SUPP_BASE64) - set(_SRCS - supplemental/base64/base64.c - supplemental/base64/base64.h) - nng_test(base64_test) - set(NNG_SRCS ${NNG_SRCS} ${_SRCS} PARENT_SCOPE) -endif() +nng_sources_if(NNG_SUPP_BASE64 + base64.c + base64.h) + +nng_test_if(NNG_SUPP_BASE64 + base64_test) |
