CMAKE: Also look for qmake-q4 for RHEL6

This commit is contained in:
Magne Sjaastad 2013-10-17 08:05:58 +02:00
parent 90e10dea4d
commit 290c6ea402

View File

@ -52,7 +52,7 @@ else()
message(WARNING "Failed to find mkoctfile, no Octave plugins will be compiled. Please specify RESINSIGHT_OCTAVE_PLUGIN_MKOCTFILE")
endif()
find_program(RESINSIGHT_OCTAVE_PLUGIN_QMAKE qmake)
find_program(RESINSIGHT_OCTAVE_PLUGIN_QMAKE qmake-qt4 qmake)
if(RESINSIGHT_OCTAVE_PLUGIN_QMAKE)
get_filename_component(OCTAVE_QMAKE_DIR ${RESINSIGHT_OCTAVE_PLUGIN_QMAKE} PATH)