mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[cmake] add RDTK_FORCE_STATIC_BUILD
since rdtk is only used by shadow server add an option to directly link it with -DRDTK_FORCE_STATIC_BUILD=ON without installing any header or library
This commit is contained in:
@@ -81,7 +81,7 @@ include(GNUInstallDirsWrapper)
|
||||
include(CMakePackageConfigHelpers)
|
||||
include (SetFreeRDPCMakeInstallDir)
|
||||
|
||||
option(RDTK_FORCE_STATIC_BUILD "Force RDTK to be build as static libary" OFF)
|
||||
option(RDTK_FORCE_STATIC_BUILD "Force RDTK to be build as static libary (recommended)" OFF)
|
||||
if (RDTK_FORCE_STATIC_BUILD)
|
||||
set(BUILD_SHARED_LIBS OFF)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user