diff --git a/cmake/OmimHelpers.cmake b/cmake/OmimHelpers.cmake index 4dad95eed6..d4afa851de 100644 --- a/cmake/OmimHelpers.cmake +++ b/cmake/OmimHelpers.cmake @@ -4,6 +4,10 @@ include(OmimConfig) function(omim_add_executable executable) add_executable(${executable} ${ARGN}) + if (PLATFORM_WIN) + target_sources(${executable} PRIVATE "${CMAKE_CURRENT_FUNCTION_LIST_DIR}/windows/OrganicMaps.manifest") + endif() + # Enable warnings for all our binaries. target_compile_options(${executable} PRIVATE ${OMIM_WARNING_FLAGS}) target_include_directories(${executable} SYSTEM PRIVATE ${3PARTY_INCLUDE_DIRS}) diff --git a/cmake/windows/OrganicMaps.manifest b/cmake/windows/OrganicMaps.manifest new file mode 100644 index 0000000000..c589bed88e --- /dev/null +++ b/cmake/windows/OrganicMaps.manifest @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + UTF-8 + + true + + + diff --git a/qt/CMakeLists.txt b/qt/CMakeLists.txt index 2dc9c6eef0..f1fb4c66b4 100644 --- a/qt/CMakeLists.txt +++ b/qt/CMakeLists.txt @@ -192,6 +192,10 @@ if (PLATFORM_MAC) ) endif() +if (PLATFORM_WIN) + target_sources(${PROJECT_NAME} PRIVATE res/windows.rc) +endif() + if (BUILD_DESIGNER) execute_process( COMMAND cp -rf ${OMIM_ROOT}/data/resources-mdpi_light/ ${OMIM_ROOT}/data/resources-mdpi_design/ diff --git a/qt/MapsWithMe.manifest b/qt/MapsWithMe.manifest deleted file mode 100644 index 2f99a7ec86..0000000000 --- a/qt/MapsWithMe.manifest +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/qt/res/windows.ico b/qt/res/windows.ico index ddb4eabffb..d1838e173c 100644 Binary files a/qt/res/windows.ico and b/qt/res/windows.ico differ