mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-27 03:44:06 +08:00
cmake: fix for fPIC in CMake 2.8.8-
This commit is contained in:
parent
8b70615b30
commit
cebea5590a
@ -100,6 +100,9 @@ if(CMAKE_COMPILER_IS_GNUCC)
|
||||
if(WITH_SSE2_TARGET)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2")
|
||||
endif()
|
||||
if(${CMAKE_VERSION} VERSION_LESS 2.8.8)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
|
Loading…
Reference in New Issue
Block a user