From 8740f1c24c6173a082a45338420ae09a4cf3596a Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sat, 26 Sep 2015 19:29:31 -1000 Subject: [PATCH] OS X / FreeBSD conflict fix --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 415aac9f5..a753080d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ else() set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-multichar -fno-exceptions") endif() -if(UNIX) +if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") include_directories(/usr/local/include) endif()