mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-19 08:41:53 +00:00
12 lines
337 B
CMake
12 lines
337 B
CMake
set (SOURCES FileSystem.cpp)
|
|
if (NOT WIN32)
|
|
list(APPEND SOURCES TempFile.cpp)
|
|
endif()
|
|
|
|
serenity_lib(LibFileSystem filesystem)
|
|
target_link_libraries(LibFileSystem PRIVATE LibCoreMinimal)
|
|
|
|
if (WIN32)
|
|
find_path(DIRENT_INCLUDE_DIR dirent.h REQUIRED)
|
|
target_include_directories(LibFileSystem PRIVATE ${DIRENT_INCLUDE_DIR})
|
|
endif()
|