Changeset View
Changeset View
Standalone View
Standalone View
cmake/FindQalculate.cmake
1 | # - Try to find libqalculate | 1 | # - Try to find libqalculate and qalc | ||
---|---|---|---|---|---|
2 | # Input variables | 2 | # Input variables | ||
3 | # | 3 | # | ||
4 | # QALCULATE_MIN_VERSION - minimal version of libqalculate | 4 | # QALCULATE_MIN_VERSION - minimal version of libqalculate | ||
Context not available. | |||||
60 | ${LIB_INSTALL_DIR} | 60 | ${LIB_INSTALL_DIR} | ||
61 | ) | 61 | ) | ||
62 | 62 | | |||
63 | find_program(QALC_EXECUTABLE qalc) | ||||
64 | if(NOT QALC_EXECUTABLE) | ||||
65 | MESSAGE(STATUS "Could NOT find the qalc(Qalculate's command line interface)") | ||||
66 | return() | ||||
67 | endif(NOT QALC_EXECUTABLE) | ||||
68 | | ||||
69 | | ||||
63 | else(NOT WIN32) | 70 | else(NOT WIN32) | ||
64 | # XXX: currently no libqalculate on windows | 71 | # XXX: currently no libqalculate on windows | ||
65 | set(QALCULATE_FOUND FALSE) | 72 | set(QALCULATE_FOUND FALSE) | ||
Context not available. | |||||
72 | mark_as_advanced(QALCULATE_CFLAGS QALCULATE_LIBRARIES) | 79 | mark_as_advanced(QALCULATE_CFLAGS QALCULATE_LIBRARIES) | ||
73 | 80 | | |||
74 | endif(QALCULATE_CFLAGS AND QALCULATE_LIBRARIES) | 81 | endif(QALCULATE_CFLAGS AND QALCULATE_LIBRARIES) | ||
75 | | ||||
Context not available. |