Merge with develop
This commit is contained in:
parent
47361e8d9b
commit
5f05b0db94
1 changed files with 12 additions and 6 deletions
|
@ -49,15 +49,15 @@ FOREACH(_VERSION ${WINSDK_VERSIONS})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDFOREACH()
|
ENDFOREACH()
|
||||||
|
|
||||||
SET(WINSDK_SUFFIX)
|
SET(WINSDK_SUFFIXES)
|
||||||
|
|
||||||
IF(TARGET_ARM)
|
IF(TARGET_ARM)
|
||||||
SET(WINSDK8_SUFFIX "arm")
|
SET(WINSDK8_SUFFIX "arm")
|
||||||
ELSEIF(TARGET_X64)
|
ELSEIF(TARGET_X64)
|
||||||
SET(WINSDK8_SUFFIX "x64")
|
SET(WINSDK8_SUFFIX "x64")
|
||||||
SET(WINSDK_SUFFIX "x64")
|
SET(WINSDK_SUFFIXES "x64" "amd64")
|
||||||
ELSEIF(TARGET_X86)
|
ELSEIF(TARGET_X86)
|
||||||
SET(WINSDK8_SUFFIX "x86")
|
SET(WINSDK8_SUFFIXES "x86")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
SET(WINSDKCURRENT_VERSION_INCLUDE $ENV{INCLUDE})
|
SET(WINSDKCURRENT_VERSION_INCLUDE $ENV{INCLUDE})
|
||||||
|
@ -306,12 +306,18 @@ FIND_PATH(WINSDK_OPENGL_INCLUDE_DIR GL.h
|
||||||
${WINSDK_DIR}/Include
|
${WINSDK_DIR}/Include
|
||||||
)
|
)
|
||||||
|
|
||||||
|
SET(WINSDK_LIBRARY_DIRS
|
||||||
|
${WINSDK_DIR}/Lib/winv6.3/um/${WINSDK8_SUFFIX}
|
||||||
|
${WINSDK_DIR}/Lib/win8/um/${WINSDK8_SUFFIX})
|
||||||
|
|
||||||
|
FOREACH(_SUFFIX ${WINSDK_SUFFIXES})
|
||||||
|
SET(WINSDK_LIBRARY_DIRS ${WINSDK_LIBRARY_DIRS} ${WINSDK_DIR}/Lib/${_SUFFIX})
|
||||||
|
ENDFOREACH()
|
||||||
|
|
||||||
# directory where all libraries are found
|
# directory where all libraries are found
|
||||||
FIND_PATH(WINSDK_LIBRARY_DIR ComCtl32.lib
|
FIND_PATH(WINSDK_LIBRARY_DIR ComCtl32.lib
|
||||||
HINTS
|
HINTS
|
||||||
${WINSDK_DIR}/Lib/winv6.3/um/${WINSDK8_SUFFIX}
|
${WINSDK_LIBRARY_DIRS}
|
||||||
${WINSDK_DIR}/Lib/win8/um/${WINSDK8_SUFFIX}
|
|
||||||
${WINSDK_DIR}/Lib/${WINSDK_SUFFIX}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# signtool is used to sign executables
|
# signtool is used to sign executables
|
||||||
|
|
Loading…
Reference in a new issue