mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
6ed528f89a
Dust Racing 2D (Dustrac) is a tile-based, cross-platform 2D racing game written in Qt. WWW: http://dustrac.sourceforge.net/
19 lines
588 B
Plaintext
19 lines
588 B
Plaintext
--- ./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")
|
|
|