diff options
Diffstat (limited to 'games/dustrac/files/patch-CMakeLists.txt')
-rw-r--r-- | games/dustrac/files/patch-CMakeLists.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games/dustrac/files/patch-CMakeLists.txt b/games/dustrac/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..3bca9025dc11 --- /dev/null +++ b/games/dustrac/files/patch-CMakeLists.txt @@ -0,0 +1,18 @@ +--- ./CMakeLists.txt.orig 2014-03-09 12:40:35.000000000 +0000 ++++ ./CMakeLists.txt 2014-04-05 13:27:16.455482525 +0000 +@@ -40,13 +40,12 @@ + cmake_policy(VERSION 2.8.7) + endif() + +-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") ++if(UNIX) + include("InstallLinux.cmake") +-elseif(${CMAKE_SYSTEM_NAME} MATCHES "Windows") ++elseif(WIN32) + include("InstallWindows.cmake") + endif() + +-set(CMAKE_VERBOSE_MAKEFILE OFF) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall -O3 -pedantic") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fomit-frame-pointer -finline-functions -ffast-math") + |