We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10b6c85 commit 02e85b5Copy full SHA for 02e85b5
2 files changed
dll/win32/shell32/CMakeLists.txt
@@ -3,7 +3,12 @@ PROJECT(SHELL)
3
add_subdirectory(shelldesktop)
4
add_subdirectory(shellmenu)
5
add_subdirectory(shellrecyclebin)
6
-spec2def(shell32.dll shell32.spec ADD_IMPORTLIB)
+
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()
12
13
remove_definitions(-D_WIN32_WINNT=0x502)
14
add_definitions(-D_WIN32_WINNT=0x600)
0 commit comments