Skip to content

Commit

Permalink
[cmake] CheckNettle2or3.cmake: Also export NETTLE_FOUND in the PARENT…
Browse files Browse the repository at this point in the history
…_SCOPE.

NETTLE_FOUND may be used to determine if libnettle should be
linked to other libraries and/or executables.

This fixes a regression from commit 22189ea.
([cmake] CheckNettle2or3.cmake: Convert the macro to a function.)
  • Loading branch information
GerbilSoft committed May 18, 2024
1 parent 1b6d9ad commit 6b01883
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
Affects RFT_LISTDATA, but not RFT_LISTDATA_MULTI.
* Fixes #413: Exports/Imports table in win32 shell ext page showing blank rows
* Reported by @ksharperd.
* VGM: "YM2139" should be "YM2149".
* Affects: v1.4 - v2.3
* Fixes #415: Fix name of YM2149 from "YM2139"
* Reported by @TheEssem.

## v2.3 (released 2024/03/03)

Expand Down
1 change: 1 addition & 0 deletions cmake/libs/CheckNettle2or3.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ FUNCTION(CHECK_NETTLE_2_OR_3)
FIND_PACKAGE(NETTLE)
SET(HAVE_NETTLE ${NETTLE_FOUND})
SET(HAVE_NETTLE ${NETTLE_FOUND} PARENT_SCOPE)
SET(NETTLE_FOUND ${NETTLE_FOUND} PARENT_SCOPE)
IF(HAVE_NETTLE)
# Check if this is Nettle 3.x.
# Nettle 3.1 added version.h, which isn't available
Expand Down

0 comments on commit 6b01883

Please sign in to comment.