Skip to content

Commit 67c7564

Browse files
committed
chore: sync
1 parent b7d1ef8 commit 67c7564

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

src/api/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ if(ENABLE_CXX_INTERFACE)
4040
list(APPEND PROJECTM_PUBLIC_HEADERS ${PROJECTM_CXX_EXPORT_HEADER})
4141
endif()
4242

43-
# Make available to parent scope for framework builds
44-
set(PROJECTM_PUBLIC_HEADERS "${PROJECTM_PUBLIC_HEADERS}" PARENT_SCOPE)
45-
4643
target_sources(projectM_api
4744
PRIVATE
4845
${PROJECTM_PUBLIC_HEADERS}

src/libprojectM/CMakeLists.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,20 @@ if(BUILD_SHARED_LIBS)
132132
)
133133

134134
if(ENABLE_MACOS_FRAMEWORK)
135-
# Start with C API headers
136-
set(_framework_public_headers ${PROJECTM_PUBLIC_HEADERS})
135+
# Get C API headers from the API target
136+
get_target_property(_framework_public_headers projectM_api PUBLIC_HEADER)
137137

138138
# Add C++ headers when the C++ interface is enabled
139139
if(ENABLE_CXX_INTERFACE)
140140
list(APPEND _framework_public_headers
141+
"${CMAKE_CURRENT_SOURCE_DIR}/Audio/AudioConstants.hpp"
142+
"${CMAKE_CURRENT_SOURCE_DIR}/Audio/FrameAudioData.hpp"
143+
"${CMAKE_CURRENT_SOURCE_DIR}/Audio/Loudness.hpp"
144+
"${CMAKE_CURRENT_SOURCE_DIR}/Audio/MilkdropFFT.hpp"
141145
"${CMAKE_CURRENT_SOURCE_DIR}/Audio/PCM.hpp"
146+
"${CMAKE_CURRENT_SOURCE_DIR}/Audio/WaveformAligner.hpp"
147+
"${CMAKE_CURRENT_SOURCE_DIR}/Renderer/RenderContext.hpp"
148+
"${CMAKE_CURRENT_SOURCE_DIR}/Logging.hpp"
142149
"${CMAKE_CURRENT_SOURCE_DIR}/ProjectM.hpp"
143150
)
144151
endif()

0 commit comments

Comments
 (0)