Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 672088 | Differences between
and this patch

Collapse All | Expand All

(-)a/CMakeLists.txt.orig (-13 lines)
Lines 694-712 Link Here
694
		POST_BUILD
694
		POST_BUILD
695
		COMMAND ${CMAKE_COMMAND} -E ${REPLI_COMMAND} $<TARGET_FILE:srt-live-transmit> ${stransmit_path})
695
		COMMAND ${CMAKE_COMMAND} -E ${REPLI_COMMAND} $<TARGET_FILE:srt-live-transmit> ${stransmit_path})
696
696
697
	if (SYMLINKABLE)
698
		message(STATUS "BACKWARD COMPATIBLE 'stransmit': will use symbolic link")
699
		srt_install_symlink(srt-live-transmit ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/stransmit)
700
	elseif(${CMAKE_MAJOR_VERSION} LESS 3)
701
		message(FATAL_ERROR "Your system can't install symbolic link to 'stransmit', copy-on-install requires cmake at least 3.0.2")
702
	else()
703
		# This installation doesn't work with cmake earlier than 3.0
704
		# (looxlike cmake 2.8 somehow doesn't have a problem with resolving the $<TARGET_FILE_DIR:...>
705
		# inside the generated makefile, but does have problem with its own generated cmake_install.cmake :D)
706
		message(STATUS "BACKWARD COMPATIBLE 'stransmit': will use copying")
707
		install(PROGRAMS ${stransmit_path} DESTINATION ${CMAKE_INSTALL_BINDIR})
708
	endif()
709
710
	# srt-file-transmit must be temporarily blocked on Windows because it's not yet portable
697
	# srt-file-transmit must be temporarily blocked on Windows because it's not yet portable
711
	if (NOT WIN32)
698
	if (NOT WIN32)
712
		srt_add_application(srt-file-transmit ${VIRTUAL_srtsupport})
699
		srt_add_application(srt-file-transmit ${VIRTUAL_srtsupport})

Return to bug 672088