> Am Wednesday 15 September 2010 schrieb David Cole:
>> find_library always looks for *.lib files on Windows. Those are the ones
>> that need to be passed to the linker. The *.dll files are the ones that
>> need to be there at runtime in order to run correctly.
>>
>> This behavior is intended, by d
Am Wednesday 15 September 2010 schrieb David Cole:
> find_library always looks for *.lib files on Windows. Those are the ones
> that need to be passed to the linker. The *.dll files are the ones that
> need to be there at runtime in order to run correctly.
>
> This behavior is intended, by design,
find_library always looks for *.lib files on Windows. Those are the ones
that need to be passed to the linker. The *.dll files are the ones that need
to be there at runtime in order to run correctly.
This behavior is intended, by design, and is working correctly.
HTH,
David
On Tue, Sep 14, 2010
Hi, I have modified the FindAPR.cmake module to look for the APR library
under Windows.
Using Find_Library ,
the library that it should look for is "libapr-1.dll" , however, cmake
fails to find it. If I change the name from "libapr-1.dll" to
"libapr-1.lib" , CMake can successfully locate it.