summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2021-07-11 12:07:27 -0700
committerGarrett D'Amore <garrett@damore.org>2021-07-11 12:07:27 -0700
commit9fcf039b573d153ba9bbc2beb5f11259ddacdcff (patch)
tree50c7f52787818256436536af1e59b720f96f62bc
parent6c0696b4d4f330501da6e1fbc157113768f6f817 (diff)
downloadnng-9fcf039b573d153ba9bbc2beb5f11259ddacdcff.tar.gz
nng-9fcf039b573d153ba9bbc2beb5f11259ddacdcff.tar.bz2
nng-9fcf039b573d153ba9bbc2beb5f11259ddacdcff.zip
Fix cmake package version properties.v1.5.1
-rw-r--r--cmake/nng-config.cmake.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmake/nng-config.cmake.in b/cmake/nng-config.cmake.in
index c3ec7f25..c5419961 100644
--- a/cmake/nng-config.cmake.in
+++ b/cmake/nng-config.cmake.in
@@ -1,4 +1,4 @@
-# Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+# Copyright 2021 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,9 +8,9 @@
@PACKAGE_INIT@
-set(NNG_VERSION_MAJOR "@NNG_VERSION_MAJOR@")
-set(NNG_VERSION_MINOR "@NNG_VERSION_MINOR@")
-set(NNG_VERSION_PATCH "@NNG_VERSION_PATCH@")
+set(NNG_VERSION_MAJOR "@NNG_MAJOR_VERSION@")
+set(NNG_VERSION_MINOR "@NNG_MINOR_VERSION@")
+set(NNG_VERSION_PATCH "@NNG_PATCH_VERSION@")
set_and_check(NNG_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIRS@")