From 5c844d9ccda45c886d517252aa867b3da4e03028 Mon Sep 17 00:00:00 2001 From: StoneyDSP Date: Fri, 20 Dec 2024 05:47:26 +0100 Subject: [PATCH] edit 'CMakeLists.txt' - revert pkgconfig file Signed-off-by: StoneyDSP --- CMakeLists.txt | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b732676..37599c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -732,21 +732,6 @@ set(RACK_SDK_DISABLE_USAGE_MESSAGE @RACK_SDK_DISABLE_USAGE_MESSAGE@) ]==]) # Create pkgconfig file -get_target_property(linker_opts core - INTERFACE_LINK_OPTIONS -) -set(core_linker_opts) -foreach(linker_opt IN LISTS linker_opts) - set(core_linker_opts "${linker_opt} ${core_linker_opts}") -endforeach() - -get_target_property(compiler_opts core - INTERFACE_COMPILE_OPTIONS -) -set(core_compiler_opts) -foreach(compiler_opt IN LISTS compiler_opts) - set(core_compiler_opts "${compiler_opt} ${core_compiler_opts}") -endforeach() file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/Rack-SDK.pc.in" [==[ prefix=@CMAKE_INSTALL_PREFIX@ @@ -757,8 +742,8 @@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ Name: Rack-SDK Description: @PROJECT_DESCRIPTION@ Version: @PROJECT_VERSION@ -Libs: -L${libdir} @core_linker_opts@ -Cflags: -I${includedir} -I${includedir}/Rack-SDK/dep -I${includedir}/Rack-SDK/rack @core_compiler_opts@ +Libs: -L${libdir} +Cflags: -I${includedir} -I${includedir}/Rack-SDK/dep -I${includedir}/Rack-SDK/rack ]==]) # Configure pkgconfig file @@ -767,8 +752,6 @@ configure_file ( "${CMAKE_CURRENT_BINARY_DIR}/lib/pkgconfig/Rack-SDK.pc" @ONLY ) -unset(core_linker_opts) -unset(core_compiler_opts) # Install pkgconfig file install(