commit | d7775dd3f0ec7f88e7bae28779636bf2b7d608ca | [log] [tgz] |
---|---|---|
author | Tom de Vries <tdevries@suse.de> | Tue May 14 16:10:55 2019 +0200 |
committer | Markus Metzger <markus.t.metzger@intel.com> | Thu May 16 17:40:31 2019 +0200 |
tree | 7011d5f9fc40e9d137a47e04971716044adbe556 | |
parent | 95e7028866091968230a68b2c4f2b7495c206674 [diff] |
cmake: add BUILD_SHARED_LIBS option Linux distributions like Fedora and OpenSUSE build gdb against a static libipt, which is obtained by patching libipt/CMakeLists.txt: ... -add_library(libipt SHARED +add_library(libipt STATIC ... Add option BUILD_SHARED_LIBS that can be used to build a static instead of a shared library: ... $ cmake $src -DBUILD_SHARED_LIBS=OFF ... Signed-off-by: Tom de Vries <tdevries@suse.de>