about summary refs log tree commit diff
path: root/overlays/patches/nixpkgs-wayland/pkgs/obs-studio/fix-search-path.patch
blob: 4503447ff5dc7faa26cd80637e35214cee2e4b54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/external/FindLibObs.cmake b/external/FindLibObs.cmake
index ab0a3de..19c63ee 100644
--- a/external/FindLibObs.cmake
+++ b/external/FindLibObs.cmake
@@ -95,7 +95,7 @@ if(LIBOBS_FOUND)
 
 	set(LIBOBS_INCLUDE_DIRS ${LIBOBS_INCLUDE_DIR} ${W32_PTHREADS_INCLUDE_DIR})
 	set(LIBOBS_LIBRARIES ${LIBOBS_LIB} ${W32_PTHREADS_LIB})
-	include(${LIBOBS_INCLUDE_DIR}/../cmake/external/ObsPluginHelpers.cmake)
+	include(external/ObsPluginHelpers.cmake)
 
 	# allows external plugins to easily use/share common dependencies that are often included with libobs (such as FFmpeg)
 	if(NOT DEFINED INCLUDED_LIBOBS_CMAKE_MODULES)