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

CMake: Fix invalidation of PACKAGE_INCLUDE_INSTALL_DIR #928

Merged
merged 1 commit into from
Jan 17, 2024
Merged
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
6 changes: 3 additions & 3 deletions GammaRayConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

@PACKAGE_INIT@

find_package(Qt@QtCore_VERSION_MAJOR@ @QtCore_VERSION_MAJOR@.@QtCore_VERSION_MINOR@ NO_MODULE REQUIRED COMPONENTS Core Network)
find_package(Qt@QtCore_VERSION_MAJOR@ @QtCore_VERSION_MAJOR@.@QtCore_VERSION_MINOR@ NO_MODULE COMPONENTS Widgets)

set_and_check(GammaRay_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIR@")
list(APPEND GammaRay_INCLUDE_DIRS "@PACKAGE_INCLUDE_INSTALL_DIR@/..")

find_package(Qt@QtCore_VERSION_MAJOR@ @QtCore_VERSION_MAJOR@.@QtCore_VERSION_MINOR@ NO_MODULE REQUIRED COMPONENTS Core Network)
find_package(Qt@QtCore_VERSION_MAJOR@ @QtCore_VERSION_MAJOR@.@QtCore_VERSION_MINOR@ NO_MODULE COMPONENTS Widgets)

set(GAMMARAY_PLUGIN_INSTALL_DIR @PLUGIN_INSTALL_DIR@)
set(GAMMARAY_PLUGIN_VERSION @GAMMARAY_PLUGIN_VERSION@)
set(GAMMARAY_PROBE_ABI @GAMMARAY_PROBE_ABI@)
Expand Down