made some minor modification to compilation
This commit is contained in:
parent
3f3a394001
commit
652d066c8d
@ -27,4 +27,15 @@ add_executable(fischl
|
|||||||
|
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
add_subdirectory(googletest)
|
add_subdirectory(googletest)
|
||||||
|
|
||||||
|
# Add the -Wall flag
|
||||||
|
target_compile_options(fischl PRIVATE -Wall)
|
||||||
|
|
||||||
|
# Use pkg-config to get flags for fuse3
|
||||||
|
find_package(PkgConfig REQUIRED)
|
||||||
|
pkg_search_module(FUSE3 REQUIRED fuse3)
|
||||||
|
|
||||||
|
# Add the flags from pkg-config for fuse3
|
||||||
|
target_include_directories(fischl PRIVATE ${FUSE3_INCLUDE_DIRS})
|
||||||
|
target_link_libraries(fischl PRIVATE ${FUSE3_LIBRARIES})
|
Loading…
x
Reference in New Issue
Block a user