Lines 27-32
include(GenerateExportHeader)
Link Here
|
27 |
include(FeatureSummary) |
27 |
include(FeatureSummary) |
28 |
include(ECMQtDeclareLoggingCategory) |
28 |
include(ECMQtDeclareLoggingCategory) |
29 |
include(ECMDeprecationSettings) |
29 |
include(ECMDeprecationSettings) |
|
|
30 |
include(CheckIncludeFiles) |
31 |
include(CheckLibraryExists) |
30 |
|
32 |
|
31 |
ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX DOLPHIN |
33 |
ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX DOLPHIN |
32 |
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/src/dolphin_version.h" |
34 |
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/src/dolphin_version.h" |
Lines 150-155
else()
Link Here
|
150 |
set(HAVE_TERMINAL TRUE) |
152 |
set(HAVE_TERMINAL TRUE) |
151 |
endif() |
153 |
endif() |
152 |
|
154 |
|
|
|
155 |
# Compatibility with platforms without native fts (e.g. musl) |
156 |
check_include_files("sys/types.h;sys/stat.h;fts.h" HAVE_FTS_H) |
157 |
if(HAVE_FTS_H) |
158 |
check_function_exists(fts_open HAVE_FTS_OPEN) |
159 |
if(NOT HAVE_FTS_OPEN) |
160 |
check_library_exists(fts fts_open "" HAVE_LIB_FTS) |
161 |
endif() |
162 |
endif() |
163 |
|
164 |
if(HAVE_LIB_FTS) |
165 |
set(FTS_LIB fts) |
166 |
else() |
167 |
set(FTS_LIB "") |
168 |
endif() |
169 |
|
153 |
add_subdirectory(src) |
170 |
add_subdirectory(src) |
154 |
add_subdirectory(doc) |
171 |
add_subdirectory(doc) |
155 |
|
172 |
|