-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinform_prereq.cmake
More file actions
41 lines (33 loc) · 1.01 KB
/
inform_prereq.cmake
File metadata and controls
41 lines (33 loc) · 1.01 KB
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
# https://devguide.python.org/getting-started/setup-building/index.html#build-dependencies
find_path(UUID_INCLUDE_DIR
NAMES uuid.h
PATH_SUFFIXES uuid
)
if(UUID_INCLUDE_DIR)
message(STATUS "UUID header found ${UUID_INCLUDE_DIR}")
else()
message(STATUS "UUID is missing")
if(NOT APPLE)
message(STATUS "apt install uuid-dev or dnf install libuuid-devel")
endif()
endif()
find_path(READLINE_INCLUDE_DIR
NAMES readline.h
PATH_SUFFIXES readline
)
if(READLINE_INCLUDE_DIR)
message(STATUS "Readline header found ${READLINE_INCLUDE_DIR}")
else()
message(STATUS "Readline is missing")
message(STATUS "apt install libreadline-dev or dnf install readline-devel or brew install readline")
endif()
find_path(SQLITE3_INCLUDE_DIR
NAMES sqlite3.h
PATH_SUFFIXES sqlite3
)
if(SQLITE3_INCLUDE_DIR)
message(STATUS "SQLite3 header found ${SQLITE3_INCLUDE_DIR}")
else()
message(STATUS "SQLite3 is missing")
message(STATUS "apt install libsqlite3-dev or dnf install sqlite-devel or brew install sqlite")
endif()