parent
6811413afc
commit
56be377cc2
|
@ -708,6 +708,10 @@ if (WIN32)
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
list(APPEND DEPENDENCIES_LIBRARIES -static)
|
list(APPEND DEPENDENCIES_LIBRARIES -static)
|
||||||
endif()
|
endif()
|
||||||
|
# support Windows XP
|
||||||
|
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||||
|
list(APPEND DEPENDENCIES_DEFINES "_WIN32_WINNT=0x0501")
|
||||||
|
endif()
|
||||||
elseif (APPLE)
|
elseif (APPLE)
|
||||||
find_library(COCOA Cocoa REQUIRED)
|
find_library(COCOA Cocoa REQUIRED)
|
||||||
list(APPEND DEPENDENCIES_LIBRARIES ${COCOA})
|
list(APPEND DEPENDENCIES_LIBRARIES ${COCOA})
|
||||||
|
|
Loading…
Reference in a new issue