Skip to content

Commit c484b50

Browse files
committed
Link native to core on OSX only
1 parent e455b15 commit c484b50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,9 @@ IF (WIN32)
11131113
TARGET_LINK_LIBRARIES(qgis_core wsock32 ${SETUPAPI_LIBRARY} DbgHelp)
11141114
ENDIF (WIN32)
11151115

1116-
TARGET_LINK_LIBRARIES(qgis_core qgis_native)
1116+
IF (APPLE)
1117+
TARGET_LINK_LIBRARIES(qgis_core qgis_native)
1118+
ENDIF (APPLE)
11171119

11181120
IF (NOT WITH_INTERNAL_QEXTSERIALPORT)
11191121
TARGET_LINK_LIBRARIES(qgis_core ${QEXTSERIALPORT_LIBRARY})

0 commit comments

Comments
 (0)