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)