Skip to content

Commit

Permalink
libobs: Export SIMDe headers unconditionally for plugin development
Browse files Browse the repository at this point in the history
  • Loading branch information
PatTheMav authored and RytoEX committed Oct 26, 2023
1 parent de46cf8 commit ff2a706
Showing 1 changed file with 14 additions and 20 deletions.
34 changes: 14 additions & 20 deletions libobs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,20 @@ set(public_headers
util/platform.h
util/profiler.h
util/profiler.hpp
util/simde/check.h
util/simde/debug-trap.h
util/simde/hedley.h
util/simde/simde-align.h
util/simde/simde-arch.h
util/simde/simde-common.h
util/simde/simde-constify.h
util/simde/simde-detect-clang.h
util/simde/simde-diagnostic.h
util/simde/simde-features.h
util/simde/simde-math.h
util/simde/x86/mmx.h
util/simde/x86/sse.h
util/simde/x86/sse2.h
util/sse-intrin.h
util/text-lookup.h
util/threading.h
Expand All @@ -313,26 +327,6 @@ if(ENABLE_HEVC)
list(APPEND public_headers obs-hevc.h)
endif()

if(ARCH_SIMD_FLAGS)
set(public_headers
# cmake-format: sortable
${public_headers}
util/simde/check.h
util/simde/debug-trap.h
util/simde/hedley.h
util/simde/simde-align.h
util/simde/simde-arch.h
util/simde/simde-common.h
util/simde/simde-constify.h
util/simde/simde-detect-clang.h
util/simde/simde-diagnostic.h
util/simde/simde-features.h
util/simde/simde-math.h
util/simde/x86/mmx.h
util/simde/x86/sse.h
util/simde/x86/sse2.h)
endif()

# cmake-format: off
set_property(TARGET libobs APPEND PROPERTY OBS_PUBLIC_HEADERS ${public_headers})

Expand Down

0 comments on commit ff2a706

Please sign in to comment.