aboutsummaryrefslogtreecommitdiff
path: root/audio/mumble/files/patch-overlay__gl_CMakeLists.txt
blob: a6fa6fafdf06a6dd9f8303cd1de61a1fd981dba9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Install the 32-bit overlay library on FreeBSD-amd64

--- overlay_gl/CMakeLists.txt.orig
+++ overlay_gl/CMakeLists.txt
@@ -96,6 +96,11 @@ if(NOT APPLE)
 					"-ldl"
 					"-lrt"
 			)
+		endif()
+	endif()
+
+	if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
+		if(TARGET overlay_gl_x86)
 			# install 32bit overlay library
 			install(TARGETS overlay_gl_x86 LIBRARY DESTINATION "${MUMBLE_INSTALL_LIBDIR}")
 		endif()