Changeset - 1920c4abc972
[Not reviewed]
default
0 1 0
Hasan Yavuz ÖZDERYA - 8 years ago 2017-04-17 04:12:51
hy@ozderya.net
fix segfault caused by linking to the qwt 'qt4' version
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
cmake/modules/FindQwt.cmake
Show inline comments
 
#
 
# Copyright © 2015 Hasan Yavuz Özderya
 
# Copyright © 2017 Hasan Yavuz Özderya
 
#
 
# This file is part of serialplot.
 
#
 
@@ -66,7 +66,7 @@ endif(qwt_roots)
 

	
 
if(QWT_ROOT)
 
  set(QWT_INCLUDE_DIR "${QWT_ROOT}/include")
 
  find_library(QWT_LIBRARY "qwt"
 
  find_library(QWT_LIBRARY "qwt-qt5"
 
	PATHS "${QWT_ROOT}/lib")
 
else (QWT_ROOT)
 
  ## Look into system locations
 
@@ -90,7 +90,7 @@ else (QWT_ROOT)
 
	endif(qwt_version_string)
 
  endif (QWT_INCLUDE_DIR)
 
  # look into system locations for lib file
 
  find_library(QWT_LIBRARY "qwt" PATHS /usr/lib)
 
  find_library(QWT_LIBRARY "qwt-qt5" PATHS /usr/lib)
 
endif(QWT_ROOT)
 

	
 
# set version variables
0 comments (0 inline, 0 general)