File: CMakeLists.txt

package info (click to toggle)
stellarium 24.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 911,396 kB
  • sloc: ansic: 317,377; cpp: 204,602; xml: 48,590; javascript: 26,348; python: 1,254; perl: 1,108; sh: 207; makefile: 190; pascal: 169
file content (12 lines) | stat: -rw-r--r-- 438 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
# This is the cmake config file for the Text User Interface plugin
# Further: Use program version number. (Static plugin, why bother?)
SET(TEXT_USER_INTERFACE_VERSION "${VERSION}")

ADD_DEFINITIONS(-DTUI_PLUGIN_VERSION="${TEXT_USER_INTERFACE_VERSION}")
ADD_DEFINITIONS(-DTUI_PLUGIN_LICENSE="GNU GPLv2 or later")

ADD_SUBDIRECTORY( src )

IF(ENABLE_SCRIPT_QML)
     FIND_PACKAGE(Qt${QT_VERSION_MAJOR}Qml REQUIRED)
ENDIF(ENABLE_SCRIPT_QML)