Skip to content

Commit 08397c7

Browse files
committed
fixups
1 parent 9202b42 commit 08397c7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ if(NAT20_WITH_TESTS OR NAT20_WITH_CRYPTO_BSSL)
6262
set(CMAKE_CXX_STANDARD 17)
6363
endif()
6464

65+
include(GNUInstallDirs)
66+
6567
###################################################################################################
6668
# The following section defines all the groups of source files.
6769
# All files must be specified explicitly; no globbing or other generation is allowed.

cmake/LibNat20Config.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/LibNat20Targets.cmake")
4545

4646
# Set variables for compatibility
4747
set(LIBNAT20_LIBRARIES LibNat20::nat20)
48-
set(LIBNAT20_INCLUDE_DIRS "${_IMPORT_PREFIX}/include")
48+
set_and_check(LIBNAT20_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include")
4949
set(LIBNAT20_FOUND TRUE)
5050

5151
# Check that all required components are available

0 commit comments

Comments
 (0)