diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-11-12 21:00:51 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-11-12 21:00:51 -0800 |
| commit | 8d87c66b481c7d447270be7238ad3c10e7ebc5e7 (patch) | |
| tree | f6218c6f812ff904b0f722cdebeedb7222ecf463 /src/supplemental/base64/CMakeLists.txt | |
| parent | 296d35fe695943a09dcc45469aa5aeadc619cf08 (diff) | |
| download | nng-8d87c66b481c7d447270be7238ad3c10e7ebc5e7.tar.gz nng-8d87c66b481c7d447270be7238ad3c10e7ebc5e7.tar.bz2 nng-8d87c66b481c7d447270be7238ad3c10e7ebc5e7.zip | |
Base64 nits (code quality) fixed.
This also contains the start of some CMakefile refactoring and
clean ups.
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) |
