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

Fix import location of gmock library in install target not being set #18501

Merged

Conversation

mprettner-huawei
Copy link
Contributor

What does this PR do?

The import location of the gmock library, which is built from source via FetchContent, is not set correctly for the install layout of the engine, leading to the following error:

CMake Error in D:/code/o3de/install/Code/Framework/AzTest/CMakeLists.txt:
  IMPORTED_LOCATION not set for imported target "gmock" configuration
  "Profile".

How was this PR tested?

Build the install target of the engine and check if the aforementioned error is no longer happening.

@mprettner-huawei mprettner-huawei requested a review from a team as a code owner November 22, 2024 12:18
Copy link
Contributor

@nick-l-o3de nick-l-o3de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops!

@nick-l-o3de nick-l-o3de merged commit 05a6061 into o3de:development Nov 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants