aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/sharedfile
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/sharedfile')
-rw-r--r--src/modules/sharedfile/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/sharedfile/CMakeLists.txt b/src/modules/sharedfile/CMakeLists.txt
index f2188d615..fb74ea42b 100644
--- a/src/modules/sharedfile/CMakeLists.txt
+++ b/src/modules/sharedfile/CMakeLists.txt
@@ -22,4 +22,8 @@ ENDIF()
# Install target
SET_TARGET_PROPERTIES(kvisharedfile PROPERTIES VERSION ${VERSION_RELEASE} SOVERSION ${VERSION_MAJOR})
-INSTALL(TARGETS kvisharedfile LIBRARY DESTINATION ${INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/modules/)
+IF(APPLE)
+ INSTALL(TARGETS kvisharedfile LIBRARY DESTINATION ${INSTALL_PREFIX}/Contents/Resources/modules/)
+ELSE()
+ INSTALL(TARGETS kvisharedfile LIBRARY DESTINATION ${INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/modules/)
+ENDIF()