|
|
|
|
|
|
|
|
# because PIC code does not exist on that platform and MinGW complains if -fPIC |
|
|
# because PIC code does not exist on that platform and MinGW complains if -fPIC |
|
|
# is passed (additionally, libvnc is not used on Windows.) |
|
|
# 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 |
|
|
set_target_properties(os rdr network Xregion rfb |
|
|
PROPERTIES COMPILE_FLAGS -fPIC) |
|
|
PROPERTIES COMPILE_FLAGS -fPIC) |
|
|
endif() |
|
|
endif() |