--- CMakeLists.txt.orig	2025-10-25 13:30:22 UTC
+++ CMakeLists.txt
@@ -17,8 +17,12 @@ list(APPEND CMAKE_PREFIX_PATH ${CMAKE_CURRENT_SOURCE_D
 list(APPEND CMAKE_PREFIX_PATH ${CMAKE_CURRENT_SOURCE_DIR}/.deps/obs-studio-31.0.0/build_x64/deps/w32-pthreads)
 list(APPEND CMAKE_PREFIX_PATH ${CMAKE_CURRENT_SOURCE_DIR}/.deps/obs-studio-31.0.0/build_x64/UI/obs-frontend-api)
 
+target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
+    %%LOCALBASE%%/include/obs
+)
+
 find_package(libobs REQUIRED)
-target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE OBS::libobs)
+set_target_properties(${CMAKE_PROJECT_NAME} OBS::libobs PROPERTIES IMPORTED_CONFIGURATIONS ${CMAKE_BUILD_TYPE})
 
 if(ENABLE_FRONTEND_API)
   find_package(obs-frontend-api REQUIRED)
