Skip to content

Commit

Permalink
Fix Mac error when building qgis_app
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Sep 6, 2013
1 parent ef2e10b commit fc787a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,10 @@ TARGET_LINK_LIBRARIES(qgis_app
qgis_analysis
)

IF (APPLE)
TARGET_LINK_LIBRARIES(qgis_app ${APP_SERVICES_LIBRARY})
ENDIF(APPLE)

if(MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
SET_TARGET_PROPERTIES(qgis_app PROPERTIES STATIC_LIBRARY_FLAGS "/machine:x64")
ENDIF(MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 8)
Expand Down

0 comments on commit fc787a6

Please sign in to comment.