mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-27 08:10:25 +00:00
18 lines
405 B
CMake
18 lines
405 B
CMake
if(APPLE)
|
|
set(SCRIPT CompleteBundleOSX)
|
|
elseif(WIN32)
|
|
set(SCRIPT CompleteBundleWin)
|
|
endif(APPLE)
|
|
|
|
option(CODE_SIGN "code sign the app" OFF)
|
|
if(CODE_SIGN)
|
|
set(DO_SIGN 1)
|
|
else(CODE_SIGN)
|
|
set(DO_SIGN 0)
|
|
endif(CODE_SIGN)
|
|
|
|
if(SCRIPT)
|
|
configure_file(${CMAKE_SOURCE_DIR}/CMakeModules/${SCRIPT}.cmake.in ${SCRIPT}.cmake @ONLY)
|
|
install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/${SCRIPT}.cmake)
|
|
endif(SCRIPT)
|