Skip to content

Commit

Permalink
[CHORE] FIX CMAKELISTS
Browse files Browse the repository at this point in the history
  • Loading branch information
nots1dd committed Aug 4, 2024
1 parent 4700648 commit 773bcab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ find_package(Curses REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(LIBARCHIVE REQUIRED libarchive)
# Manually specify YAML include and library paths
set(YAML_INCLUDE_DIRS /usr/include)
set(YAML_LIBRARIES /usr/lib/libyaml.so)
find_path(YAML_INCLUDE_DIR yaml.h)

find_library(YAML_LIBRARY NAMES libyaml)


# Include directories for ncurses, libarchive, libyaml, and project headers
include_directories(${CURSES_INCLUDE_DIR})
Expand Down

0 comments on commit 773bcab

Please sign in to comment.