diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2014-04-18 09:38:03 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2014-04-18 09:38:03 +0000 |
commit | 6ed528f89a05e069033e9c5e45d39dc1674002d4 (patch) | |
tree | dd2725f5a2afe0720084ddf7fa48aa83e8124df4 /games/dustrac/files/patch-CMakeLists.txt | |
parent | archivers/libzip: (diff) |
Add new port games/dustrac:
Dust Racing 2D (Dustrac) is a tile-based, cross-platform 2D racing
game written in Qt.
WWW: http://dustrac.sourceforge.net/
Notes
Notes:
svn path=/head/; revision=351526
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") + |