aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindPCHSupport.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindPCHSupport.cmake')
-rw-r--r--cmake/FindPCHSupport.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindPCHSupport.cmake b/cmake/FindPCHSupport.cmake
index d96a287e1a3..0cb3af8c5f0 100644
--- a/cmake/FindPCHSupport.cmake
+++ b/cmake/FindPCHSupport.cmake
@@ -47,7 +47,7 @@ MACRO(_PCH_GET_COMPILE_FLAGS _out_compile_flags)
IF(CMAKE_COMPILER_IS_GNUCXX)
GET_TARGET_PROPERTY(_targetType ${_PCH_current_target} TYPE)
IF(${_targetType} STREQUAL SHARED_LIBRARY AND NOT WIN32)
- LIST(APPEND ${_out_compile_flags} "${${_out_compile_flags}} -fPIC")
+ LIST(APPEND ${_out_compile_flags} -fPIC")
ENDIF()
ELSE(CMAKE_COMPILER_IS_GNUCXX)
@@ -312,4 +312,4 @@ MACRO(ADD_NATIVE_PRECOMPILED_HEADER _targetName _input)
endif(CMAKE_GENERATOR MATCHES Xcode)
endif(CMAKE_GENERATOR MATCHES Visual*)
-ENDMACRO(ADD_NATIVE_PRECOMPILED_HEADER) \ No newline at end of file
+ENDMACRO(ADD_NATIVE_PRECOMPILED_HEADER)