mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-27 10:52:16 -04:00
SIMD Everywhere finder needs to be installed alongside libobs CMake package since its headers depends on it. C++ cmath header is included on Windows on ARM to ensure that all math functions are correctly defined when included in C++ code. https://github.com/simd-everywhere/simde/issues/1304 macOS intrinsics is included to make sure that no redefinition error happens.
17 lines
450 B
CMake
17 lines
450 B
CMake
@PACKAGE_INIT@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/finders")
|
|
|
|
if(MSVC)
|
|
find_dependency(w32-pthreads REQUIRED)
|
|
endif()
|
|
find_dependency(SIMDe REQUIRED)
|
|
find_dependency(Threads REQUIRED)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake")
|
|
check_required_components("@PROJECT_NAME@")
|
|
|
|
set_property(TARGET OBS::libobs APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS HAVE_OBSCONFIG_H)
|