Skip to content

Commit

Permalink
[cmake] add RDTK_FORCE_STATIC_BUILD
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Armin Novak authored and akallabeth committed Dec 21, 2023
1 parent 0bc3369 commit 93148ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdtk/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 93148ea

Please sign in to comment.