mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-21 15:43:28 +01:00
16 lines
519 B
CMake
16 lines
519 B
CMake
add_subdirectory(os)
|
|
add_subdirectory(rdr)
|
|
add_subdirectory(network)
|
|
add_subdirectory(Xregion)
|
|
add_subdirectory(rfb)
|
|
|
|
# For any convenience libraries that are linked into libvnc.so, we need to
|
|
# explicitly build their corresponding sources using PIC. WIN32 is excluded
|
|
# because PIC code does not exist on that platform and MinGW complains if -fPIC
|
|
# is passed (additionally, libvnc is not used on Windows.)
|
|
|
|
if(NOT WIN32)
|
|
set_target_properties(os rdr network Xregion rfb
|
|
PROPERTIES COMPILE_FLAGS -fPIC)
|
|
endif()
|