cmake: Do not hardcode /opt/local/include for Apple.
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 11 Nov 2014 10:34:01 +0000 (18:34 +0800)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 11 Dec 2014 16:43:31 +0000 (17:43 +0100)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
CMakeLists.txt

index f494f6d8da148e8b24586c72b58fae2a46e033da..c09fe51fcceb8b6677d3ef1e853842ed14b0c5fc 100644 (file)
@@ -7,11 +7,6 @@ ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
 
 SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
 
-IF(APPLE)
-  INCLUDE_DIRECTORIES(/opt/local/include)
-  LINK_DIRECTORIES(/opt/local/lib)
-ENDIF()
-
 IF(POLARSSL)
   ADD_DEFINITIONS(-DHAVE_POLARSSL)
   SET(SSL_SRC ustream-polarssl.c)