| commit | 7fb4a4ca7e0576bc81217798b6be95fe95eda7c5 | [log] [tgz] |
|---|---|---|
| author | Stephen Webb <swebb2066@gmail.com> | Sat Aug 05 17:47:14 2023 +1000 |
| committer | Stephen Webb <swebb2066@gmail.com> | Sat Aug 05 17:47:14 2023 +1000 |
| tree | 587064cacd8ece4a481874d07751ace77e7895c0 | |
| parent | b2bf3043054b169261a8435e9e2374016a8b3a01 [diff] |
Qt requires position independent code on Linux
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9861602..9aff9cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -73,6 +73,7 @@ option(LOG4CXX_QT_SUPPORT "Qt support/integration" OFF) if(LOG4CXX_QT_SUPPORT) find_package(Qt5 COMPONENTS Core REQUIRED) + set(CMAKE_POSITION_INDEPENDENT_CODE ON) endif(LOG4CXX_QT_SUPPORT) option(LOG4CXX_ENABLE_ODBC "Support logging via ODBC" OFF)