On 07/29/2015 10:59 AM, Pascal Bach wrote: > set( CMAKE_FIND_ROOT_PATH /sysroots/arm /sysroots/x86_64 ) > set( CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY ) > set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY ) > set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY ) > set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )
If this is not sufficient to convince FindQt4 to find the right qmake and libraries then FindQt4 should be fixed to do so rather than asking the user to set more package-specific variables. > QT_BINARY_DIR is necessary to find the correct qmake If the user knows this information then s/he might as well just set QT_QMAKE_EXECUTABLE directly. -Brad -- 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: http://public.kitware.com/mailman/listinfo/cmake-developers