Browse Source

[cmake]: enable CMAKE_POSITION_INDEPENDENT_CODE by default

personal/stbuehler/ci-build
Stefan Bühler 2 years ago
parent
commit
7e5dfc1a40
  1. 3
      src/CMakeLists.txt

3
src/CMakeLists.txt

@ -13,6 +13,9 @@ include(LighttpdMacros)
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES)
# default to ON
set(CMAKE_POSITION_INDEPENDENT_CODE ON CACHE BOOL "Default value for ``POSITION_INDEPENDENT_CODE`` of targets.")
option(WITH_XATTR "with xattr-support for the stat-cache [default: off]")
option(WITH_MYSQL "with mysql-support for mod_vhostdb_mysql [default: off]")
option(WITH_PGSQL "with postgres-support for mod_vhostdb_pgsql [default: off]")

Loading…
Cancel
Save