Skip to content

Commit

Permalink
build: 库文件名统一使用 graphics, 而不区分64和 32 (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
yixy-only authored May 7, 2024
1 parent d1d35de commit 2442898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ endif ()
# 设置库文件名
math(EXPR TARGET_BITS "8 * ${CMAKE_SIZEOF_VOID_P}")
if (TARGET_BITS EQUAL 64)
set_property(TARGET xege PROPERTY OUTPUT_NAME graphics64)
set_property(TARGET xege PROPERTY OUTPUT_NAME graphics)
elseif (TARGET_BITS EQUAL 32)
set_property(TARGET xege PROPERTY OUTPUT_NAME graphics)
else ()
Expand Down
2 changes: 1 addition & 1 deletion include/ege.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# ifdef _MSC_VER
# pragma comment(lib,"gdiplus.lib")
# ifdef _WIN64 // 64 bit libs
# pragma comment(lib,"graphics64.lib")
# pragma comment(lib,"graphics.lib")
# else // 32 bit libs
# pragma comment(lib,"graphics.lib")
# endif
Expand Down

0 comments on commit 2442898

Please sign in to comment.