diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2016-10-13 08:17:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-13 14:16:46 (GMT) |
commit | 2e242b5c1e6b24e4ed59692b9338e295b792f70e (patch) | |
tree | d6b4cf247e60caa1166940a8bb762ae911c00077 /Modules | |
parent | 6699d46a2a7f12d35926def3e4db3c7a0a5f7449 (diff) | |
download | CMake-2e242b5c1e6b24e4ed59692b9338e295b792f70e.zip CMake-2e242b5c1e6b24e4ed59692b9338e295b792f70e.tar.gz CMake-2e242b5c1e6b24e4ed59692b9338e295b792f70e.tar.bz2 |
FindBoost: Use list(INSERT) to simplify suffix list generation
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindBoost.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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() |