Bug 278539 - devel/cmake-core: The global property FIND_LIBRARY_USE_LIB64_PATHS evaluates to TRUE, when on FreeBSD lib64 isn't used
Summary: devel/cmake-core: The global property FIND_LIBRARY_USE_LIB64_PATHS evaluates ...
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-23 03:14 UTC by Yuri Victorovich
Modified: 2024-06-01 11:02 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2024-04-23 03:14:18 UTC
This code prints TRUE:

> cmake_minimum_required(VERSION 2.8.12)
> project(x LANGUAGES C CXX)
> 
> get_property(LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS)
> message("LIB64=${LIB64}")

It should print FALSE because lib64 isn't used.
Comment 1 Adriaan de Groot freebsd_committer freebsd_triage 2024-06-01 11:02:25 UTC
Closing because 

- you could PR a patch against that adds two `set()` lines if you like 
- the hypothetical impact of searching for libraries in non-existent directories doesn't justify patching CMake