Merge branch 'master' of github.com:synergy/synergy

This commit is contained in:
XinyuHou 2015-02-11 11:13:17 +00:00
commit 03ee40891e
1 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,11 @@ 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 -fPIC") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
if (NOT APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
endif()
# For config.h, detect the libraries, functions, etc. # For config.h, detect the libraries, functions, etc.
include(CheckIncludeFiles) include(CheckIncludeFiles)