summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeOnly/find_library
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix CMakeOnly.find_library test logic for libx32 caseChristian Schmidbauer2017-03-101-1/+1
| | | | | Teach `test_find_library_subst` how to convert `libx32` to `lib` so that the test case actually covers what we intend it to.
* Tests: Add x32 tests to test suiteSteven Newbury2017-03-087-0/+16
|
* find_library: Allow custom lib suffix be used as find pathChristian Schmidbauer2017-03-017-1/+14
| | | | | | | | | | Add a new `CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX` variable to allow use of a custom suffix on `lib` directory names. This is a more general option than that added by commit v3.7.0-rc1~504^2 (Teach find_library and find_package to search lib32 paths, 2016-06-10). It allows the find path to be more deterministic on custom setups. See discussion in #10287 and #15994.
* Teach find_library and find_package to search lib32 paths (#11260)Daniel Scharrer2016-06-107-0/+7
| | | | | | | Add a ``FIND_LIBRARY_USE_LIB32_PATHS`` global property analogous to the ``FIND_LIBRARY_USE_LIB64_PATHS`` property. This helps find commands on multilib systems that use ``lib32`` directories and either do not have ``lib`` symlinks or point ``lib`` to ``lib64``.
* find_library: Optionally consider all names in each directoryBrad King2012-09-253-0/+13
| | | | | | | When more than one value is given to the NAMES option this command by default will consider one name at a time and search every directory for it. Add a NAMES_PER_DIR option to tell this command to consider one directory at a time and search for all names in it.
* find_library: Generalize helper macro in test caseBrad King2012-09-251-18/+18
| | | | | | In Tests/CMakeOnly/find_library/CMakeLists.txt generalize the test_find_library macro and move the lib64 substitution logic to a new test_find_library_subst macro.
* find_library: Fix mixed lib->lib64 (non-)conversion cases (#13419)Brad King2012-07-201-2/+2
| | | | | | | | When a search path contains multiple "lib/" instances we previously converted all or none. This fails for cases where only some of the multiple instances must be converted. Teach AddArchitecturePaths to generate all combinations that exist. Uncomment these cases in the CMakeOnly.find_library test now that they work.
* find_library: Add test covering lib->lib64 casesBrad King2012-07-2012-0/+61
Add a "CMakeOnly.find_library" test covering various cases involving lib->lib64 (non-)conversion. Comment out cases involving mixed path components "lib" and "lib64", such as lib/A/lib64 and lib64/A/lib, as these are known to be broken currently.