Skip to content

Commit 60e9460

Browse files
author
jef
committed
fix osx build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12736 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent a58eeeb commit 60e9460

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@ IF (WIN32)
322322
ENDIF (WIN32)
323323

324324
IF(APPLE)
325-
FIND_LIBRARY(IOKIT_LIBRARY IOKit)
326-
TARGET_LINK_LIBRARIES(qgis_core ${IOKIT_LIBRARY})
325+
TARGET_LINK_LIBRARIES(qgis_core "-framework CoreFoundation -framework IOKit")
327326
ENDIF(APPLE)
328327

329328
TARGET_LINK_LIBRARIES(qgis_core

0 commit comments

Comments
 (0)