File: defaults.cmake

package info (click to toggle)
obs-source-copy 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 652 kB
  • sloc: cpp: 1,169; sh: 259; makefile: 24
file content (18 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# CMake Windows defaults module

include_guard(GLOBAL)

# Enable find_package targets to become globally available targets
set(CMAKE_FIND_PACKAGE_TARGETS_GLOBAL TRUE)

include(buildspec)

if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
  set(
    CMAKE_INSTALL_PREFIX
    "$ENV{ALLUSERSPROFILE}/obs-studio/plugins"
    CACHE STRING
    "Default plugin installation directory"
    FORCE
  )
endif()