Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dennis Klein
CMake
Commits
2e242b5c
Commit
2e242b5c
authored
Oct 13, 2016
by
Alex Turbov
Committed by
Brad King
Oct 13, 2016
Browse files
FindBoost: Use list(INSERT) to simplify suffix list generation
parent
6699d46a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/FindBoost.cmake
View file @
2e242b5c
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment