Title: CI: Windows build fails at CMake configure with "non-target-directive" errors · Issue #762 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: CI: Windows build fails at CMake configure with "non-target-directive" errors · Issue #762 · cppcheck-opensource/simplecpp
X Title: CI: Windows build fails at CMake configure with "non-target-directive" errors · Issue #762 · cppcheck-opensource/simplecpp
Description: Since the windows-11-arm runner image was updated (image windows-11-vs2026-arm64, version 20261112.217.1), the Windows CI jobs fail while CMake is configuring, before anything is compiled. This affects every PR, for example #761. The wor...
Open Graph Description: Since the windows-11-arm runner image was updated (image windows-11-vs2026-arm64, version 20261112.217.1), the Windows CI jobs fail while CMake is configuring, before anything is compiled. This aff...
X Description: Since the windows-11-arm runner image was updated (image windows-11-vs2026-arm64, version 20261112.217.1), the Windows CI jobs fail while CMake is configuring, before anything is compiled. This aff...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/762
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI: Windows build fails at CMake configure with \"non-target-directive\" errors","articleBody":"Since the `windows-11-arm` runner image was updated (image `windows-11-vs2026-arm64`, version 20261112.217.1), the Windows CI jobs fail while CMake is configuring, before anything is compiled. This affects every PR, for example #761. The workflow last passed on master on 2026-11-11 (79c4663), with the older image.\n\n```\nThe error=dev option is deprecated. Use -Werror=author instead.\n...\nCMake Error (non-target-directive) at CMakeLists.txt:15 (add_definitions):\n Use of non-target directives is not recommended. Consider\n target_compile_definitions, target_compile_options, or\n target_include_directories instead.\n...\n-- Configuring incomplete, errors occurred!\n```\n","author":{"url":"https://github.com/danmar","@type":"Person","name":"danmar"},"datePublished":"2026-11-16T07:35:11Z","url":"https://github.com/cppcheck-opensource/simplecpp/issues/762"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f5020b95-ac58-b554-6577-92752e550370 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D03E:18F20E:7455C0:A8AE28:6AFC8D78 |
| html-safe-nonce | d5f392d60182df6458d6b15568c86335d0d1ef914628ac2a6c907b273f6553ba |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDNFOjE4RjIwRTo3NDU1QzA6QThBRTI4OjZBRkM4RDc4IiwidmlzaXRvcl9pZCI6IjE5NDU0NTEzNTYwMTM0OTc3MjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 66c00a7412f55cf722d767fd6062285ce0ebbc6267446d3dcded32d73d24cc17 |
| hovercard-subject-tag | issue:6416519418 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cppcheck-opensource/simplecpp/762/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ea11926d2446b8543fdbf71a74ef84337a472402e10945189a5bb5d63c6a420d/cppcheck-opensource/simplecpp/issues/762 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ea11926d2446b8543fdbf71a74ef84337a472402e10945189a5bb5d63c6a420d/cppcheck-opensource/simplecpp/issues/762 |
| og:image:alt | Since the windows-11-arm runner image was updated (image windows-11-vs2026-arm64, version 20261112.217.1), the Windows CI jobs fail while CMake is configuring, before anything is compiled. This aff... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | danmar |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-preview |
| go-import | github.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 33434464 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/simplecpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33434464 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/simplecpp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5410e4bebd3e45b138c853ecef3992279d86d5af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width