Added embedded libzip
Prefixed all libzip zip_ funcs to fs_zip_ to avoid clashes and link errors due to assimp Zip pack and zip writer work with libzip now
This commit was merged in pull request #2.
This commit is contained in:
+2
-1
@@ -50,7 +50,7 @@ if(NOT TARGET zlib)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
file(GLOB_RECURSE SRC "src/*.cpp")
|
||||
file(GLOB_RECURSE SRC "src/*.cpp" "src/*.c" "src/*.h")
|
||||
file(GLOB_RECURSE HEADERS "include/*.h" "include/*.inl")
|
||||
|
||||
foreach(_source IN ITEMS ${HEADERS})
|
||||
@@ -70,6 +70,7 @@ endforeach()
|
||||
add_library(FS STATIC ${SRC} ${HEADERS})
|
||||
target_include_directories(FS PUBLIC "include")
|
||||
target_include_directories(FS PRIVATE "src")
|
||||
target_include_directories(FS PRIVATE "src/libzip")
|
||||
target_include_directories(FS PUBLIC "${PROJECT_SOURCE_DIR}/../Logger/include")
|
||||
target_include_directories(FS PUBLIC "${PROJECT_SOURCE_DIR}/../cppcoro/include")
|
||||
target_include_directories(FS PRIVATE "src/fast_io/include")
|
||||
|
||||
Reference in New Issue
Block a user