This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
4689d16e8a
CMake
/
Tests
/
RunCMake
/
find_library
/
RunCMakeTest.cmake
7 lines
92 B
CMake
Raw
Normal View
History
Unescape
Escape
find_library: Fix repeat call after changing directory content (#15293) We use cmGlobalGenerator::GetDirectoryContent to avoid repeating directory listings. However, GetDirectoryContent loads content from disk at most once. This breaks find_library calls that occur when disk content has changed since preceding find_library calls. Teach cmGlobalGenerator::GetDirectoryContent to save the directory modification time when content is loaded and re-load content if it changes. Create a RunCMake.find_library test with a case covering this.
2014-12-08 23:12:51 +03:00
include
(
RunCMake
)
run_cmake
(
Created
)
Drop find_(library|file|path) prefixes from PATH on non-Windows Since commit v3.3.0-rc1~430^2 (Teach find_(library|file|path) to get prefixes from PATH, 2015-02-18) we search in <prefix>/include and <prefix>/lib directories for prefixes with bin directories in the PATH environment variable. The motivation was to support MSYS, MinGW and similar Windows platforms in their default environments automatically. At the time this behavior was thought to be worthwhile in general. Suggested-by: Chuck Atkins <chuck.atkins@kitware.com>
2016-05-09 17:06:22 +03:00
if
(
WIN32
OR
CYGWIN
)
run_cmake
(
PrefixInPATH
)
endif
(
)