From a93780c2ccc4001181d5c70876378b9e38fe6892 Mon Sep 17 00:00:00 2001 From: janbar Date: Mon, 24 Jun 2024 14:19:58 +0200 Subject: [PATCH] macosx: ignore macports --- noson/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/noson/CMakeLists.txt b/noson/CMakeLists.txt index 2b74819..a3efe39 100644 --- a/noson/CMakeLists.txt +++ b/noson/CMakeLists.txt @@ -30,6 +30,11 @@ if (MSVC) set (CMAKE_STATIC_LIBRARY_PREFIX "lib") endif () +if(APPLE) + # ignore macports + set(CMAKE_IGNORE_PATH "/opt/local/bin;/opt/local/include;/opt/local/lib") +endif() + set (CMAKE_POSITION_INDEPENDENT_CODE ON) set (CMAKE_CXX_STANDARD_REQUIRED ON) set (CMAKE_CXX_STANDARD 11)