summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-06-30 12:13:13 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-06-30 12:13:13 -0400
commitacc6a090ad5698da3d076d603f4e29d5de1285ca (patch)
treef75e7e791f08b489242ac80b7e7ff999718200e0
parenteca56874d045f5139f3e2314aac78830124e6627 (diff)
Update CMakeLists so that my mac can see /usr/local/include/elf.h
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f1d54918..398b650f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,6 +6,10 @@ set(CMAKE_CXX_STANDARD 17)
enable_language(ASM)
+if(APPLE)
+ include_directories(/usr/local/include)
+endif(APPLE)
+
add_compile_options(-fms-extensions)
file(GLOB_RECURSE SOURCES RELATIVE ${CMAKE_SOURCE_DIR} "*.c" "*.cpp")