-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
43 lines (35 loc) · 953 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
cmake_minimum_required(VERSION 3.10.0)
project("LiriMusic"
VERSION "1.0.0"
DESCRIPTION "Modern music app for modern people"
LANGUAGES CXX C
)
## Shared macros and functions:
set(LIRI_LOCAL_ECM TRUE)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/fluid/cmake/shared/modules")
## Configure Fluid:
option(FLUID_WITH_DOCUMENTATION "" OFF)
option(FLUID_WITH_DEMO "" OFF)
## Set minimum versions required:
set(QT_MIN_VERSION "5.10.0")
## Liri specific setup common for all modules:
include(LiriSetup)
find_package(Taglib REQUIRED)
## Find Qt 5:
find_package(Qt5 "${QT_MIN_VERSION}"
CONFIG REQUIRED
COMPONENTS
Core
Gui
Svg
Qml
Quick
QuickControls2
Sql
)
include_directories(${TAGLIB_INCLUDES})
## Add subdirectories:
add_subdirectory(fluid)
add_subdirectory(src)
add_subdirectory(res)