Skip to content

Commit cde9dbb

Browse files
leftibotclaude
andcommitted
Address review: remove ENABLE_DEVELOPER_MODE guard from ProjectOptions.cmake
Requested by @lefticus in PR #144 review. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 48f0d76 commit cde9dbb

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

ProjectOptions.cmake

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,6 @@ macro(myproject_supports_sanitizers)
5959
endmacro()
6060

6161
macro(myproject_setup_options)
62-
if(DEFINED ENABLE_DEVELOPER_MODE)
63-
message(FATAL_ERROR
64-
"ENABLE_DEVELOPER_MODE is not a valid option. "
65-
"This project does not use aminya/project_options. "
66-
"Developer mode is enabled when PROJECT_IS_TOP_LEVEL is set "
67-
"and myproject_PACKAGING_MAINTAINER_MODE is not set.")
68-
endif()
69-
7062
option(myproject_ENABLE_HARDENING "Enable hardening" ON)
7163
option(myproject_ENABLE_COVERAGE "Enable coverage reporting" OFF)
7264
cmake_dependent_option(

0 commit comments

Comments
 (0)