[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:
parent
0bc336967b
commit
93148ea35f
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user