From 6b7bbe0099ec59ffb2097f54e47af0e8c9eed9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Fri, 15 Nov 2024 03:09:24 +0800 Subject: [PATCH] not --- cpp/exec/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/exec/CMakeLists.txt b/cpp/exec/CMakeLists.txt index 1f582edd..3e85a328 100644 --- a/cpp/exec/CMakeLists.txt +++ b/cpp/exec/CMakeLists.txt @@ -18,7 +18,7 @@ set(sources PyStand.cpp luna.rc ${versioninfo}) add_executable(LunaTranslator_debug ${sources}) target_compile_definitions(LunaTranslator_debug PRIVATE PYSTAND_CONSOLE) add_executable(LunaTranslator WIN32 ${sources}) -if(not WINXP) +if(NOT WINXP) add_executable(LunaTranslator_admin WIN32 ${sources}) set_target_properties(LunaTranslator_admin PROPERTIES LINK_FLAGS " /MANIFESTUAC:\"level='requireAdministrator' uiAccess='false'\" ") target_precompile_headers(LunaTranslator_admin REUSE_FROM pch)