Commit b23dc40c authored by Ralf Habacker's avatar Ralf Habacker Committed by Simon McVittie

Do not add custom UAC related manifest to cmake builds for MSVC on Windows

MSVC compiler >= 8.0 (VS 2005) add an identical manifest (with uac level
set to 'asInvoker' specified by /MANIFEST) by default to generated binaries
(see for details).
Signed-off-by: Ralf Habacker's avatarRalf Habacker <>
Reviewed-by: Simon McVittie's avatarSimon McVittie <>
parent 6ad07c4c
...@@ -62,7 +62,7 @@ add_executable(dbus-test-tool ${dbus_test_tool_SOURCES}) ...@@ -62,7 +62,7 @@ add_executable(dbus-test-tool ${dbus_test_tool_SOURCES})
target_link_libraries(dbus-test-tool ${DBUS_LIBRARIES}) target_link_libraries(dbus-test-tool ${DBUS_LIBRARIES})
if(WIN32) if(WIN32 AND NOT MSVC)
# avoid dbus-update-activation-environment triggering UAC # avoid dbus-update-activation-environment triggering UAC
# 1 is the resource ID, ID_MANIFEST # 1 is the resource ID, ID_MANIFEST
# 24 is the resource type, RT_MANIFEST # 24 is the resource type, RT_MANIFEST
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment