mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +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")
|
|
|