From 3bd7769ed9b81dca951d2943e6fd675812a022bf Mon Sep 17 00:00:00 2001 From: David Davies Date: Fri, 30 Jun 2023 13:14:19 +0100 Subject: [PATCH] Initialize variable so as not to keep appending. (#66) --- Modules/FindNetCDF.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindNetCDF.cmake b/Modules/FindNetCDF.cmake index f6a9098..2694e46 100644 --- a/Modules/FindNetCDF.cmake +++ b/Modules/FindNetCDF.cmake @@ -200,7 +200,7 @@ if(NetCDF_PARALLEL) endif() ## Find libraries for each component -set( NetCDF_LIBRARIES ) +set( NetCDF_LIBRARIES "" ) foreach( _comp IN LISTS _search_components ) string( TOUPPER "${_comp}" _COMP )