Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 925195
Collapse All | Expand All

(-)a/CMakeLists.txt (+17 lines)
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
(-)a/src/CMakeLists.txt (+2 lines)
Lines 210-215 target_link_libraries( Link Here
210
    KF5::WindowSystem
210
    KF5::WindowSystem
211
    KF5::WidgetsAddons
211
    KF5::WidgetsAddons
212
    KF5::Codecs
212
    KF5::Codecs
213
214
       ${FTS_LIB}
213
)
215
)
214
216
215
if(HAVE_BALOO)
217
if(HAVE_BALOO)

Return to bug 925195