Skip to content

Commit 02e85b5

Browse files
committed
[SHELL32] use the special export file
1 parent 10b6c85 commit 02e85b5

2 files changed

Lines changed: 605 additions & 1 deletion

File tree

dll/win32/shell32/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ PROJECT(SHELL)
33
add_subdirectory(shelldesktop)
44
add_subdirectory(shellmenu)
55
add_subdirectory(shellrecyclebin)
6-
spec2def(shell32.dll shell32.spec ADD_IMPORTLIB)
6+
7+
if(DLL_EXPORT_VERSION GREATER_EQUAL 0x600)
8+
spec2def(shell32.dll shell32_vista.spec ADD_IMPORTLIB)
9+
else()
10+
spec2def(shell32.dll shell32.spec ADD_IMPORTLIB)
11+
endif()
712

813
remove_definitions(-D_WIN32_WINNT=0x502)
914
add_definitions(-D_WIN32_WINNT=0x600)

0 commit comments

Comments
 (0)