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.
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