浏览代码

Apply -fPIC on all compilers

tags/v1.7.90
Pierre Ossman 7 年前
父节点
当前提交
92c52c3702
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      common/CMakeLists.txt

+ 1
- 1
common/CMakeLists.txt 查看文件

@@ -9,7 +9,7 @@ add_subdirectory(rfb)
# because PIC code does not exist on that platform and MinGW complains if -fPIC
# is passed (additionally, libvnc is not used on Windows.)

if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
if(NOT WIN32)
set_target_properties(os rdr network Xregion rfb
PROPERTIES COMPILE_FLAGS -fPIC)
endif()

正在加载...
取消
保存