We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c46eb7 commit 9e35df4Copy full SHA for 9e35df4
ct_core/CMakeLists.txt
@@ -25,7 +25,7 @@ find_package(Qwt QUIET)
25
find_package(Qt4 QUIET)
26
if(QWT_FOUND AND Qt4_FOUND)
27
message(STATUS "Qwt and QT found.")
28
- add_definitions(-DQWT_ENABLED)
+ set(QWT_ENABLED ON)
29
include(${QT_USE_FILE})
30
list(APPEND ct_core_LIBS ${QWT_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
31
else()
@@ -83,7 +83,7 @@ if(USE_PRESPEC)
83
add_library(${lib_name} SHARED ${${lib_name}_SRCS})
84
target_include_directories(${lib_name} PUBLIC ${ct_core_target_include_dirs})
85
endforeach()
86
-endif(USE_PRESPEC)
+endif()
87
88
89
## create ct_core libraries
0 commit comments