Changeset View
Changeset View
Standalone View
Standalone View
sysutils/synergy/files/patch-CMakeLists.txt
--- CMakeLists.txt.orig 2014-05-23 23:43:58.000000000 +0800 | --- CMakeLists.txt.orig 2015-05-26 15:56:21 UTC | ||||
+++ CMakeLists.txt 2014-05-30 13:55:26.000000000 +0800 | +++ CMakeLists.txt | ||||
@@ -74,10 +74,6 @@ | @@ -74,10 +74,6 @@ endif() | ||||
# Depending on the platform, pass in the required defines. | # Depending on the platform, pass in the required defines. | ||||
if (UNIX) | if (UNIX) | ||||
- # warnings as errors: | - # warnings as errors: | ||||
- # we have a problem with people checking in code with warnings. | - # we have a problem with people checking in code with warnings. | ||||
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") | - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") | ||||
- | - | ||||
# For config.h, detect the libraries, functions, etc. | if (NOT APPLE) | ||||
include(CheckIncludeFiles) | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") | ||||
include(CheckLibraryExists) | endif() |