diff --git a/CMakeLists.txt b/CMakeLists.txt index 8bc8a0d..2e2aa06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,6 +117,11 @@ target_link_libraries ( ${PROJECT_NAME} ${M_PESIEVE} ${M_PARAMKIT} "psapi.lib" " add_dependencies( ${PROJECT_NAME} ${M_PESIEVE} ${M_PARAMKIT} ) target_compile_definitions(${PROJECT_NAME} PUBLIC -DUNICODE) target_compile_definitions(${M_PARAMKIT} PUBLIC -DUNICODE) + +if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC") + target_link_options( ${PROJECT_NAME} PRIVATE "/MANIFEST:NO") +endif() + #install INSTALL( TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT ${PROJECT_NAME} ) diff --git a/hh_res.rc b/hh_res.rc index 60c87b9..2d840a6 100644 --- a/hh_res.rc +++ b/hh_res.rc @@ -2,6 +2,16 @@ #include "resources.h" #include +///////////////////////////////////////////////////////////////////////////// +// +// Application Manifest +// +CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "hollows_hunter.manifest" + +///////////////////////////////////////////////////////////////////////////// +// +// Application Version +// #define VER_COMPANYNAME_STR "Hashereware (hashereware.com)" #define VER_FILETYPE VFT_APP #define VER_FILESUBTYPE VFT2_UNKNOWN diff --git a/hollows_hunter.manifest b/hollows_hunter.manifest index 317e2ed..2178797 100644 --- a/hollows_hunter.manifest +++ b/hollows_hunter.manifest @@ -14,7 +14,6 @@ -