Skip to content

fix cmake warning#7424

Open
Goober5000 wants to merge 1 commit intoscp-fs2open:masterfrom
Goober5000:fix/cmake_toolchain
Open

fix cmake warning#7424
Goober5000 wants to merge 1 commit intoscp-fs2open:masterfrom
Goober5000:fix/cmake_toolchain

Conversation

@Goober5000
Copy link
Copy Markdown
Contributor

Per Claude:

The IF opens with (MSVC_USE_RUNTIME_DLL OR FSO_BUILD_QTFRED) but the ELSE and ENDIF only reference (MSVC_USE_RUNTIME_DLL). CMake requires the argument in ELSE/ENDIF to match the IF exactly (or be omitted).

Per Claude:
> The `IF` opens with `(MSVC_USE_RUNTIME_DLL OR FSO_BUILD_QTFRED)` but the `ELSE` and `ENDIF` only reference `(MSVC_USE_RUNTIME_DLL)`. CMake requires the argument in `ELSE`/`ENDIF` to match the `IF` exactly (or be omitted).
@Goober5000 Goober5000 added fix A fix for bugs, not-a-bugs, and/or regressions. build An issue related to the build systems labels May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build An issue related to the build systems fix A fix for bugs, not-a-bugs, and/or regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants