From 12ab17e5515ed5f69afc4827e5430d9ffa2e02ff Mon Sep 17 00:00:00 2001 From: zv0n Date: Tue, 13 Sep 2022 22:30:16 +0200 Subject: [PATCH] Fix CMake for macos --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 439ebe4..796f319 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,9 @@ find_library(Restbed restbed find_library(Curl curl PATHS /usr/lib) +include_directories(/usr/local/include /opt/homebrew/include) +link_directories(/opt/homebrew/lib) + set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g") project(LunchRest)