From: Harley Laue Date: Thu, 13 May 2010 13:42:55 +0000 (-0500) Subject: Looks like UNIX also needs the MacCompatibility.cpp for ConvertFileName. X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=bccce69852faf174b633e3e85b975639bfab146f;p=lugaru.git Looks like UNIX also needs the MacCompatibility.cpp for ConvertFileName. * We may look into a better way of doing this in the future... --- diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index f48fdbe..5363642 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -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