2020-11-21 19:51:51 +00:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2021-06-28 23:13:55 +00:00
|
|
|
index f6d8fa3..5f0657d 100644
|
2020-11-21 19:51:51 +00:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
|
|
|
@@ -1,6 +1,17 @@
|
|
|
|
+if (POLICY CMP0048)
|
|
|
|
+ cmake_policy(SET CMP0048 NEW)
|
|
|
|
+endif (POLICY CMP0048)
|
|
|
|
+
|
2021-06-28 23:13:55 +00:00
|
|
|
project(move-transition VERSION 2.4.3)
|
2020-11-21 19:51:51 +00:00
|
|
|
set(PROJECT_FULL_NAME "Move Transition")
|
|
|
|
|
|
|
|
+include(FindLibobs.cmake)
|
|
|
|
+find_package(LibObs REQUIRED)
|
|
|
|
+
|
|
|
|
+include_directories(
|
|
|
|
+ "${LIBOBS_INCLUDE_DIR}/../plugins/obs-transitions"
|
|
|
|
+ "${LIBOBS_INCLUDE_DIR}/../UI/obs-frontend-api")
|
|
|
|
+
|
2021-02-05 17:12:51 +00:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/version.h)
|
2021-07-03 03:11:41 +00:00
|
|
|
|
2020-11-21 19:51:51 +00:00
|
|
|
set(move-transition_HEADERS
|
2021-06-28 23:13:55 +00:00
|
|
|
@@ -38,4 +49,10 @@ target_link_libraries(move-transition
|
2020-11-21 19:51:51 +00:00
|
|
|
libobs)
|
|
|
|
|
|
|
|
set_target_properties(move-transition PROPERTIES FOLDER "plugins/exeldro")
|
|
|
|
-install_obs_plugin_with_data(move-transition data)
|
|
|
|
+set_target_properties(move-transition PROPERTIES PREFIX "")
|
|
|
|
+
|
|
|
|
+install(TARGETS move-transition
|
|
|
|
+ LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/obs-plugins)
|
|
|
|
+
|
|
|
|
+install(DIRECTORY data/locale/
|
|
|
|
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/obs/obs-plugins/move-transition/locale")
|