forked from OpenVisualCloud/Dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
34 lines (26 loc) · 1.02 KB
/
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
cmake_minimum_required (VERSION 2.8)
Project(DockerFiles NONE)
if (NOT DEFINED BUILD_MP3LAME)
set(BUILD_MP3LAME "ON")
endif()
if (NOT DEFINED BUILD_FDKAAC)
set(BUILD_FDKAAC "ON")
endif()
if (NOT DEFINED ONLY_DOCKERFILES)
set(ONLY_DOCKERFILES "OFF")
endif()
enable_testing()
file(GLOB dirs "*")
foreach(dir ${dirs})
if(EXISTS ${dir}/CMakeLists.txt)
add_subdirectory(${dir})
endif()
endforeach()
# legal message
message(
"\nThis script will build third party components licensed under various open source licenses into your container images.\n"
"The terms under which those components may be used and distributed can be found with the license document that is provided with those components.\n"
"Please familiarize yourself with those terms to ensure your distribution of those components complies with the terms of those licenses.\n"
"\n-- Setting: BUILD_MP3LAME=${BUILD_MP3LAME}\n"
"-- Setting: BUILD_FDKAAC=${BUILD_FDKAAC}\n"
"-- Setting: ONLY_DOCKERFILES=${ONLY_DOCKERFILES}\n")