The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12577 ====================================================================== Reported By: Mathias Gaunard Assigned To: ====================================================================== Project: CMake Issue ID: 12577 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-11-14 09:23 EST Last Modified: 2011-11-14 09:23 EST ====================================================================== Summary: CMAKE_SYSTEM_XXX variables should not be modified when cross-compiling Description: The file Modules/Platform/UnixPaths.cmake always appends /usr/local and other paths to CMAKE_SYSTEM_PREFIX_PATH when on a Unix-like system, and likewise for include and library paths.
This prevents setting up some cross-compiling scenarios which cannot be set-up using the CMAKE_FIND_ROOT_PATH mechanism. I think all CMAKE_SYSTEM_XXX variables defined in a Toolchain file should have priority and not be modified. Putting those variables in the cache does not work either, the variables can still be modified. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-11-14 09:23 Mathias GaunardNew Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
