From 9fcf039b573d153ba9bbc2beb5f11259ddacdcff Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 11 Jul 2021 12:07:27 -0700 Subject: [PATCH] Fix cmake package version properties. --- cmake/nng-config.cmake.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/nng-config.cmake.in b/cmake/nng-config.cmake.in index c3ec7f250..c54199614 100644 --- a/cmake/nng-config.cmake.in +++ b/cmake/nng-config.cmake.in @@ -1,4 +1,4 @@ -# Copyright 2018 Staysail Systems, Inc. +# Copyright 2021 Staysail Systems, Inc. # # 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@")