mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 12:17:49 +08:00
[opengl] If-def on Windows vs other
This commit is contained in:
parent
8d8e676711
commit
a6866d477d
@ -1,5 +1,6 @@
|
||||
include(vcpkg_common_functions)
|
||||
|
||||
if(NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
vcpkg_get_program_files_32_bit(PROGRAM_FILES_32_BIT)
|
||||
vcpkg_get_windows_sdk(WINDOWS_SDK)
|
||||
|
||||
@ -45,3 +46,6 @@ if (WINDOWS_SDK MATCHES "10.")
|
||||
elseif(WINDOWS_SDK MATCHES "8.")
|
||||
file(WRITE ${CURRENT_PACKAGES_DIR}/share/opengl/copyright "See https://developer.microsoft.com/windows/downloads/windows-8-1-sdk for the Windows 8.1 SDK license")
|
||||
endif()
|
||||
else()
|
||||
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user