speed-dreams-code/packaging
xavi92 2004f4ba0c cmake: Rely on CURL::libcurl instead of CURL_LIBRARY
When calling find_package(CURL), different files might be inspected:

- $CMAKE_PREFIX/Modules/FindCURL.cmake
- 3rdParty/lib/cmake/CURL/CURLConfig.cmake

Which file is selected is decided by CMake depending on the context.
Unfortunately, whereas the former defines CURL_LIBRARY, the latter
does not.

However, both define the CURL::libcurl target, from which the library
location can be retrieved with get_property() so as to achieve the
same effect.

Fixing this also makes CURL_NO_CURL_CMAKE redundant.


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9582 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 470e785d15589e41bf6f5d1b3c42318bb5ef645e
Former-commit-id: 5f8c279fc814833acdb26ade8979f67950033a8b
2024-10-27 07:54:00 +00:00
..
3rdParty-devel cmake: Rely on CURL::libcurl instead of CURL_LIBRARY 2024-10-27 07:54:00 +00:00
appdata String trailing whitespaces 2024-07-30 21:45:07 +00:00
desura String trailing whitespaces 2024-07-30 21:45:07 +00:00
loki Remove svn:keywords property from the repository 2024-10-02 15:30:18 +00:00
OSX WIP for ticket 1047 Automate creation of Base app for MacOS 2020-08-30 04:46:14 +00:00
portable Add option to create portable app for Windows 2023-11-05 22:25:58 +00:00
sources Remove svn:keywords property from the repository 2024-10-02 15:30:18 +00:00
windows Remove svn:keywords property from the repository 2024-10-02 15:30:18 +00:00
CMakeLists.txt Remove $Id$ 2024-09-30 05:17:15 +00:00