File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ if(NAT20_WITH_TESTS OR NAT20_WITH_CRYPTO_BSSL)
6262 set (CMAKE_CXX_STANDARD 17)
6363endif ()
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.
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/LibNat20Targets.cmake")
4545
4646# Set variables for compatibility
4747set (LIBNAT20_LIBRARIES LibNat20::nat20)
48- set (LIBNAT20_INCLUDE_DIRS "${_IMPORT_PREFIX } /include" )
48+ set_and_check (LIBNAT20_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR } /include" )
4949set (LIBNAT20_FOUND TRUE )
5050
5151# Check that all required components are available
You can’t perform that action at this time.
0 commit comments