[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: [CMake] CMAKE_AR/NM/RANLIB require full path?!
From: René_J.V. Bertin <rjvbertin () gmail ! com>
Date: 2019-02-20 13:51:56
Message-ID: 1804749.OtAdDEy6tV () portia ! local
[Download RAW message or body]
Hi,
I just got some build failures when changes to my build scripts led to configuring \
with -DCMAKE_AR=ar (RANLIB=ranlib, etc).
The documentation isn't explicit on what these parameters expect so I assumed that it \
should be fine to set them to a command name, as with CMAKE_<LANG>_COMPILER.
Wrong! CMake will apparently prepend CMAKE_BINARY_DIR to these commands.
If this is intentional, why isn't it documented in the CMAKE_AR (etc) description?
Thanks,
R.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic