From bccce69852faf174b633e3e85b975639bfab146f Mon Sep 17 00:00:00 2001 From: Harley Laue Date: Thu, 13 May 2010 08:42:55 -0500 Subject: [PATCH] Looks like UNIX also needs the MacCompatibility.cpp for ConvertFileName. * We may look into a better way of doing this in the future... --- Source/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.5