]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Standardization of QWT output vars.
authorageay <ageay>
Thu, 20 Sep 2012 11:28:37 +0000 (11:28 +0000)
committerageay <ageay>
Thu, 20 Sep 2012 11:28:37 +0000 (11:28 +0000)
adm_local/cmake_files/FindQWT.cmake

index 18634126770703145c83d30b168b2aad5126e6ef..b21e31743a5afe576aa23fcf3381e2b1e557d77a 100644 (file)
@@ -23,9 +23,11 @@ IF(NOT QWTHOME)
 ENDIF(NOT QWTHOME)
 
 FIND_PATH(QWT_INCLUDE_DIR qwt_plot.h PATHS ${QWTHOME}/include ${QWTHOME}/include/qwt)
-SET(QWT_INCLUDES -I${QWT_INCLUDE_DIR})
+SET(QWT_INCLUDES -I${QWT_INCLUDE_DIR}) # to remove
+SET(QWT_INCLUDE_DIRS ${QWT_INCLUDE_DIR})
 IF(WINDOWS)
-SET(QWT_INCLUDES ${QWT_INCLUDES} -DQWT_DLL)
+SET(QWT_INCLUDES ${QWT_INCLUDES} -DQWT_DLL) # to remove
+SET(QWT_DEFINITIONS "-DQWT_DLL")
 ENDIF(WINDOWS)
 
 IF(WINDOWS)