From 2e242b5c1e6b24e4ed59692b9338e295b792f70e Mon Sep 17 00:00:00 2001 From: Alex Turbov Date: Thu, 13 Oct 2016 15:17:53 +0700 Subject: FindBoost: Use list(INSERT) to simplify suffix list generation --- Modules/FindBoost.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindBoost.cmake b/Modules/FindBoost.cmake index 84ba061..fc68135 100644 --- a/Modules/FindBoost.cmake +++ b/Modules/FindBoost.cmake @@ -1390,7 +1390,7 @@ endif() if( Boost_USE_STATIC_LIBS ) set( _boost_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) if(WIN32) - set(CMAKE_FIND_LIBRARY_SUFFIXES .lib .a ${CMAKE_FIND_LIBRARY_SUFFIXES}) + list(INSERT CMAKE_FIND_LIBRARY_SUFFIXES 0 .lib .a) else() set(CMAKE_FIND_LIBRARY_SUFFIXES .a ) endif() -- cgit v0.12