From 166f7677672c294daa0ecc5ab832dc69a6584e58 Mon Sep 17 00:00:00 2001 From: derselbst Date: Fri, 14 Jan 2022 22:23:05 +0100 Subject: [PATCH] Add a note about headers and MacOS frameworks --- src/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 565bea04..b4b37f79 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -301,8 +301,10 @@ if ( LIBFLUID_CPPFLAGS ) PROPERTIES COMPILE_FLAGS ${LIBFLUID_CPPFLAGS} ) endif ( LIBFLUID_CPPFLAGS ) -# note: by default this target creates a shared object (or dll). To build a +# Note: by default this target creates a shared object (or dll). To build a # static library instead, set the option BUILD_SHARED_LIBS to FALSE. +# Further note: The headers must be explicitly added here to have CMake install +# them correctly in case of MACOSX_FRAMEWORK add_library ( libfluidsynth $ ${public_main_HEADER}