diff --git a/CMakeLists.txt b/CMakeLists.txt index 24f8db4c..dc5b2302 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -195,6 +195,13 @@ target_link_libraries (loot${PROJECT_ARCH} ${Boost_LIBRARIES} ${LOOT_LIBS}) add_executable (LOOT ${LOOT_GUI_SRC} ${LOOT_GUI_HEADERS}) target_link_libraries (LOOT ${Boost_LIBRARIES} ${LOOT_GUI_LIBS}) +add_custom_command( + TARGET LOOT + POST_BUILD + COMMAND "mt.exe" -manifest \"${CMAKE_SOURCE_DIR}/src/gui/LOOT.exe.manifest\" -inputresource:"$(TargetDir)$(TargetFileName)"\;\#1 -outputresource:"$(TargetDir)$(TargetFileName)"\;\#1 + COMMENT "Adding manifest..." +) + # Copy CEF DLLs. FOREACH(cef_dll d3dcompiler_43.dll d3dcompiler_46.dll libEGL.dll libGLESv2.dll libcef.dll wow_helper.exe) add_custom_command(TARGET LOOT POST_BUILD diff --git a/src/gui/LOOT.exe.manifest b/src/gui/LOOT.exe.manifest new file mode 100644 index 00000000..83dd9919 --- /dev/null +++ b/src/gui/LOOT.exe.manifest @@ -0,0 +1,8 @@ + + + + + Per Monitor + + +