diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2012-02-11 16:52:32 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2012-02-14 21:18:44 (GMT) |
commit | 10dfec3bb63a8f6552c1d343b6cad245e6b1abdf (patch) | |
tree | 62a89af100774921f52e96417d0edca12e52c8a2 /Docs | |
parent | f17d3f58d66a8aac3d149e8819eb6a9666d0526e (diff) | |
download | CMake-10dfec3bb63a8f6552c1d343b6cad245e6b1abdf.zip CMake-10dfec3bb63a8f6552c1d343b6cad245e6b1abdf.tar.gz CMake-10dfec3bb63a8f6552c1d343b6cad245e6b1abdf.tar.bz2 |
FindPerlLibs: properly detect libperl on Windows (#12224)
This also cleans up a bunch of things on the way:
-when perl was queried for paths they were not converted to CMake style on
Windows.
-the result when perl was queried for the perl library name was ignored since
it was expanded with the possible paths, which is not a valid input for
find_library(). If perl returns a library name we now will look only for this
name and not for the default names and use the default names only when the
executable does not give us a hint.
-get rid of 2 variables that were only used at one place and directly put the
values in the call to find_library() and find_path().
Inspired by Jeff Trull
Diffstat (limited to 'Docs')
0 files changed, 0 insertions, 0 deletions