From 906c93df20b6287ec02926769a764a9d397b7027 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 3 Aug 2009 15:18:51 +0000 Subject: [PATCH] windows port --- adm_local/cmake_files/FindQWT.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/adm_local/cmake_files/FindQWT.cmake b/adm_local/cmake_files/FindQWT.cmake index ea5f11dd8..528270976 100644 --- a/adm_local/cmake_files/FindQWT.cmake +++ b/adm_local/cmake_files/FindQWT.cmake @@ -27,7 +27,11 @@ IF(WINDOWS) SET(QWT_INCLUDES ${QWT_INCLUDES} -DQWT_DLL) ENDIF(WINDOWS) IF(WINDOWS) +IF(CMAKE_BUILD_TYPE STREQUAL Debug) +FIND_LIBRARY(QWT_LIBS qwtd5 ${QWTHOME}/lib) +ELSE(CMAKE_BUILD_TYPE STREQUAL Debug) FIND_LIBRARY(QWT_LIBS qwt5 ${QWTHOME}/lib) +ENDIF(CMAKE_BUILD_TYPE STREQUAL Debug) ELSE(WINDOWS) FIND_LIBRARY(QWT_LIBS qwt ${QWTHOME}/lib) ENDIF(WINDOWS) -- 2.39.2