Fix CMakeLists.txt

This commit is contained in:
daleclack 2022-05-24 10:55:19 +08:00
parent c31ee39d36
commit 3fb2582ac5
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ add_custom_target(resource ALL DEPENDS ${RESOURCE_FILE})
#For win32 platform,use rc resource and .ico icon
if(WIN32)
SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
SET(CMAKE_RC_COMPILER windres)
set(app_WINRC icon.rc)
set_property(SOURCE icon.rc APPEND PROPERTY
OBJECT_DEPENDS ${PROJECT_SOURCE_DIR}/icon.ico