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 condition to disable plugin tests #1173

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

RytoEX
Copy link
Member

@RytoEX RytoEX commented Oct 2, 2023

Description

The CMake generator expression to enable plugin tests mistakenly used a string literal, which evaluated to 1, which enabled the plugin tests. Use variable notation to correctly test this value.

Motivation and Context

How Has This Been Tested?

Tested OS(s):

  • Windows 11
    Tested configured builds locally and checked the resulting value of PLUGIN_TESTS.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have read the Contributing Guidelines.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • My code is not on master or a release/* branch.
  • The code has been tested.
  • I have included updates to all appropriate documentation.

The CMake generator expression to enable plugin tests mistakenly used a
string literal, which evaluated to 1, which enabled the plugin tests by
default. Use variable notation to correctly test this value.
@tt2468 tt2468 merged commit 16bf61a into obsproject:master Oct 2, 2023
1 check passed
@RytoEX RytoEX deleted the fix-cmake-condition-for-tests branch October 2, 2023 22:23
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.

3 participants