]> git.jsancho.org Git - lugaru.git/commitdiff
Looks like UNIX also needs the MacCompatibility.cpp for ConvertFileName.
authorHarley Laue <losinggeneration@gmail.com>
Thu, 13 May 2010 13:42:55 +0000 (08:42 -0500)
committerHarley Laue <losinggeneration@gmail.com>
Thu, 13 May 2010 13:42:55 +0000 (08:42 -0500)
* We may look into a better way of doing this in the future...

Source/CMakeLists.txt

index f48fdbe8a934d849938bbceb7beb5fa787306621..5363642c3a8005b5871ffa13914c7da6af9a3cf0 100644 (file)
@@ -104,6 +104,13 @@ if(CMAKE_HOST_APPLE)
                CarbonStdCLib.h)
 endif(CMAKE_HOST_APPLE)
 
+if(CMAKE_HOST_UNIX)
+       set(LUGARU_SRCS
+               ${LUGARU_SRCS}
+               MacCompatibility.cpp)
+endif(CMAKE_HOST_UNIX)
+
+
 if(WIN32)
   if(CMAKE_CROSSCOMPILING)
     ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj