Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 24, 2024
1 parent fe8072c commit 3faa454
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ set(GAMMARAY_BUILD_CLI_INJECTOR_DEFAULT ON)
if(WIN32)
set(GAMMARAY_BUILD_CLI_INJECTOR_DEFAULT OFF)
endif()
gammaray_option(GAMMARAY_BUILD_CLI_INJECTOR "Build command line injector on Windows." ${GAMMARAY_BUILD_CLI_INJECTOR_DEFAULT})
gammaray_option(
GAMMARAY_BUILD_CLI_INJECTOR "Build command line injector on Windows." ${GAMMARAY_BUILD_CLI_INJECTOR_DEFAULT}
)
if(WIN32 AND GAMMARAY_BUILD_CLI_INJECTOR)
message(FATAL_ERROR "Cannot use CLI injection on Windows.")
endif()
Expand Down Expand Up @@ -616,7 +618,8 @@ if(NOT HAVE_QT_WIDGETS)
endif()
gammaray_option(
GAMMARAY_CORE_ONLY_LAUNCHER
"Only use QtCore in the CLI launcher (breaks style injector, but is needed for Boot2Qt compatibility)" ${GAMMARAY_CORE_ONLY_LAUNCHER_DEFAULT}
"Only use QtCore in the CLI launcher (breaks style injector, but is needed for Boot2Qt compatibility)"
${GAMMARAY_CORE_ONLY_LAUNCHER_DEFAULT}
)
if(NOT HAVE_QT_WIDGETS AND NOT GAMMARAY_CORE_ONLY_LAUNCHER)
message(FATAL_ERROR "Must CORE_ONLY_LAUNCHER when Qt Widgets are not available.")
Expand Down

0 comments on commit 3faa454

Please sign in to comment.