aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/system
diff options
context:
space:
mode:
authorGravatar Thomas Kalla2008-04-04 00:03:57 +0000
committerGravatar Thomas Kalla2008-04-04 00:03:57 +0000
commit1a726074a1e3e9095beda827f41ce569742e08ab (patch)
tree11d7465b64d68b475c16acf480d8fd31f714c50d /src/modules/system
parentadded a skel for windows on Tom's patch (diff)
downloadKVIrc-1a726074a1e3e9095beda827f41ce569742e08ab.tar.gz
KVIrc-1a726074a1e3e9095beda827f41ce569742e08ab.tar.bz2
KVIrc-1a726074a1e3e9095beda827f41ce569742e08ab.zip
More fixes for cmake on Mac OS X
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1387 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/system')
-rw-r--r--src/modules/system/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/system/CMakeLists.txt b/src/modules/system/CMakeLists.txt
index ac1cb51c5..4fbaa7d08 100644
--- a/src/modules/system/CMakeLists.txt
+++ b/src/modules/system/CMakeLists.txt
@@ -27,5 +27,8 @@ ENDIF()
# Install target
SET_TARGET_PROPERTIES(kvisystem PROPERTIES VERSION ${VERSION_RELEASE} SOVERSION ${VERSION_MAJOR})
-INSTALL(TARGETS kvisystem LIBRARY DESTINATION ${INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/modules/)
-
+IF(APPLE)
+ INSTALL(TARGETS kvisystem LIBRARY DESTINATION ${INSTALL_PREFIX}/Contents/Resources/modules/)
+ELSE()
+ INSTALL(TARGETS kvisystem LIBRARY DESTINATION ${INSTALL_PREFIX}/share/kvirc/${VERSION_BRANCH}/modules/)
+ENDIF()