From d6036f92254b53b67c0b32c9b02f9d6575f1953f Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 2 May 2021 16:29:48 +0200 Subject: macOS-related CMake cleanups * Remove useless explicitly specified link/include directories * Don't pass -s or -pie to the linker as they aren't needed --- src/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dc32b2a..c899745 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -100,11 +100,6 @@ if (ENABLE_JIT) endif() endif() -if (APPLE) - target_include_directories(core PUBLIC /usr/local/include /opt/homebrew/include) - target_link_directories(core PUBLIC /usr/local/lib /opt/homebrew/lib) -endif() - if (ENABLE_OGLRENDERER) find_package(PkgConfig REQUIRED) pkg_check_modules(EPOXY REQUIRED epoxy) -- cgit v1.2.3