I solved it using
|get_target_property (QT_QMAKE_EXECUTABLE Qt5::qmake IMPORTED_LOCATION)|
Le 03/09/2019 à 15:05, Stéphane Ancelot a écrit :
Hi,
Is there a way to find qmake path of a custom setup in order using it
an add_custom_command
my QT5 path is available in CMAKE_PREFIX_PATH.
Regards,,
S.Ancelot
--
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