From: Gilles DAVID Date: Thu, 26 May 2016 14:13:01 +0000 (+0200) Subject: Update CMakeLists.txt to detect correct version of qwt X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3ebafd62e8c1eb5c83bd86ccfc57a8f355d1e393;p=modules%2Fgui.git Update CMakeLists.txt to detect correct version of qwt --- diff --git a/adm_local/cmake_files/FindQwt.cmake b/adm_local/cmake_files/FindQwt.cmake index cc68887b9..7f78742f0 100644 --- a/adm_local/cmake_files/FindQwt.cmake +++ b/adm_local/cmake_files/FindQwt.cmake @@ -32,8 +32,8 @@ IF(NOT Qwt_FIND_QUIETLY) MESSAGE(STATUS "Looking for Qwt ...") ENDIF() -FIND_PATH(QWT_INCLUDE_DIR qwt_plot.h PATH_SUFFIXES qwt) -FIND_PATH(QWT_INCLUDE_DIR qwt_plot.h PATH_SUFFIXES qwt-qt4) +FIND_PATH(QWT_INCLUDE_DIR qwt_legend_label.h PATH_SUFFIXES qwt) +FIND_PATH(QWT_INCLUDE_DIR qwt_legend_label.h PATH_SUFFIXES qwt-qt4) IF(WIN32) SET(QWT_DEFINITIONS "-DQWT_DLL")