summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorSocapex <philippe_groarke@yahoo.ca>2012-08-13 17:53:52 -0400
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-08-14 17:48:24 +0200
commitd18445a37c9f01c37238858dbceed7533f636aed (patch)
tree0f4ad7369a16d119937be180f38af493396e2512 /src/CMakeLists.txt
parent067ad70e9978fd678bb784783b2b5c3dc32746d1 (diff)
downloadmana-d18445a37c9f01c37238858dbceed7533f636aed.tar.gz
mana-d18445a37c9f01c37238858dbceed7533f636aed.tar.bz2
mana-d18445a37c9f01c37238858dbceed7533f636aed.tar.xz
mana-d18445a37c9f01c37238858dbceed7533f636aed.zip
Can now build using cmake on OSX
Tested-by: Frost.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b9aa6bb7..f7483cfa 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -650,7 +650,16 @@ IF (WIN32)
utils/specialfolder.h
mana.rc
)
-ENDIF ()
+ENDIF (WIN32)
+
+IF (APPLE)
+ SET(SRCS
+ ${SRCS}
+ log.mm
+ SDLMain.h
+ SDLMain.m
+ )
+ENDIF (APPLE)
SET (PROGRAMS mana)