mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-30 09:40:52 +00:00
c89c894edb
This reverts commit 6c1138e8de5c905beaf924259b292100ec5abcd3.
22 lines
811 B
CMake
22 lines
811 B
CMake
find_library(FOUNDATION Foundation)
|
|
find_library(APPKIT AppKit)
|
|
find_library(IOKIT IOKit)
|
|
find_library(COCOA Cocoa)
|
|
find_Library(CARBON Carbon)
|
|
find_library(SECURITY Security)
|
|
|
|
set(OS_LIBS ${FOUNDATION} ${APPKIT} ${IOKIT} ${COCOA} ${SECURITY} ${CARBON} spmediakeytap hidremote plistparser letsmove)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mmacosx-version-min=10.9 -fno-omit-frame-pointer")
|
|
set(WARNINGS "-Wall")
|
|
|
|
set(HAVE_UPDATER 1)
|
|
find_program(UPDATER_PATH updater HINTS ${CMAKE_FIND_ROOT_PATH}/update_installer/ NO_DEFAULT_PATH)
|
|
if(${UPDATER_PATH} MATCHES "UPDATER_PATH-NOTFOUND")
|
|
set(HAVE_UPDATER 0)
|
|
message(STATUS "will build without the updater")
|
|
endif(${UPDATER_PATH} MATCHES "UPDATER_PATH-NOTFOUND")
|
|
|
|
set(INSTALL_BIN_DIR .)
|
|
set(INSTALL_RESOURCE_DIR Resources)
|