Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CP #1569 > support/v5.13] [CMake] Added CMAKE_POSITION_INDEPENDENT_CODE ON to qt relevant builds #1574

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/mon/mon_plugins/monitor_tree_view/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

project(MonitorTreeView)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

# Legacy Qt5 (pre 5.15) support as suggested by teh Qt Documentation:
# https://doc.qt.io/qt-6/cmake-qt5-and-qt6-compatibility.html#supporting-older-qt-5-versions
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Widgets)
Expand Down
2 changes: 2 additions & 0 deletions lib/CustomQt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

project(CustomQt)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

# Legacy Qt5 (pre 5.15) support as suggested by teh Qt Documentation:
# https://doc.qt.io/qt-6/cmake-qt5-and-qt6-compatibility.html#supporting-older-qt-5-versions
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Widgets)
Expand Down
2 changes: 2 additions & 0 deletions lib/CustomTclap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

project(CustomTclap)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

find_package(tclap REQUIRED)

set(include_files
Expand Down
2 changes: 2 additions & 0 deletions lib/QEcalParser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

project(QEcalParser)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

# Legacy Qt5 (pre 5.15) support as suggested by teh Qt Documentation:
# https://doc.qt.io/qt-6/cmake-qt5-and-qt6-compatibility.html#supporting-older-qt-5-versions
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Widgets)
Expand Down
2 changes: 2 additions & 0 deletions lib/ThreadingUtils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

project(ThreadingUtils)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

find_package(Threads REQUIRED)

set (threading_utils_includes
Expand Down
2 changes: 2 additions & 0 deletions lib/ecal_utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
# ========================= eCAL LICENSE =================================
project(ecal-utils)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

find_package(Threads REQUIRED)

set (ecal_utils_includes
Expand Down
2 changes: 2 additions & 0 deletions thirdparty/qwt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ endif()

project(qwt VERSION 6.2.0)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

# Legacy Qt5 (pre 5.15) support as suggested by teh Qt Documentation:
# https://doc.qt.io/qt-6/cmake-qt5-and-qt6-compatibility.html#supporting-older-qt-5-versions
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets OpenGL Svg Concurrent PrintSupport)
Expand Down
Loading