Merge 1.3.6 r648:652 into trunk
This commit is contained in:
parent
84c66db56c
commit
8d0ec989d1
|
@ -97,6 +97,18 @@ IF(UNIX)
|
|||
|
||||
IF(APPLE)
|
||||
|
||||
# build mac os x universal
|
||||
set(CMAKE_OSX_ARCHITECTURES "ppc;i386"
|
||||
CACHE STRING "Build architectures for OSX" FORCE)
|
||||
|
||||
# TODO: fix 64-bit failures
|
||||
#set(CMAKE_OSX_ARCHITECTURES "ppc;i386;ppc64;x86_64"
|
||||
# CACHE STRING "Build architectures for OSX" FORCE)
|
||||
|
||||
# not sure this is a good idea
|
||||
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.5"
|
||||
# CACHE STRING "Flags used by the compiler during all build types." FORCE)
|
||||
|
||||
FIND_LIBRARY(lib_ScreenSaver ScreenSaver)
|
||||
FIND_LIBRARY(lib_IOKit IOKit)
|
||||
FIND_LIBRARY(lib_ApplicationServices ApplicationServices)
|
||||
|
|
|
@ -74,7 +74,11 @@ IF(UNIX)
|
|||
SET(CPACK_SOURCE_GENERATOR TGZ)
|
||||
ELSE(UNIX)
|
||||
SET(CPACK_SOURCE_GENERATOR ZIP)
|
||||
ENDIF(UNIX)
|
||||
ENDIF(UNIX)
|
||||
|
||||
if(APPLE)
|
||||
set(CPACK_SYSTEM_NAME "MacOSX-Universal")
|
||||
endif(APPLE)
|
||||
|
||||
SET(CPACK_PACKAGE_NAME "synergy-plus")
|
||||
SET(CPACK_PACKAGE_VENDOR "The Synergy+ Project")
|
||||
|
|
Loading…
Reference in New Issue