build: remove /opt/local prefix
authorFelix Fietkau <nbd@nbd.name>
Sun, 20 Nov 2016 15:26:19 +0000 (16:26 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 20 Nov 2016 15:26:19 +0000 (16:26 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
CMakeLists.txt

index 7123096a0f936fdb265256fc1f47785f731e8b6e..471b38e33802ae0158d87ac4a2bb163385c0d91d 100644 (file)
@@ -13,11 +13,6 @@ SET(UBUS_MAX_MSGLEN 1048576)
 ADD_DEFINITIONS( -DUBUS_UNIX_SOCKET="${UBUS_UNIX_SOCKET}")
 ADD_DEFINITIONS( -DUBUS_MAX_MSGLEN=${UBUS_MAX_MSGLEN})
 
-IF(APPLE)
-  INCLUDE_DIRECTORIES(/opt/local/include)
-  LINK_DIRECTORIES(/opt/local/lib)
-ENDIF()
-
 IF(BUILD_STATIC)
   FIND_LIBRARY(ubox_library NAMES ubox.a)
   FIND_LIBRARY(blob_library NAMES blobmsg_json.a)