From bc194ae9d5f7c80d696a7c79a03103a857e25743 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 13 Nov 2024 19:54:34 +0100 Subject: [PATCH] Create install_library_in_default_location.patch --- .../install_library_in_default_location.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 recipes/ampl-asl/install_library_in_default_location.patch diff --git a/recipes/ampl-asl/install_library_in_default_location.patch b/recipes/ampl-asl/install_library_in_default_location.patch new file mode 100644 index 0000000000000..2a8ad2696d2da --- /dev/null +++ b/recipes/ampl-asl/install_library_in_default_location.patch @@ -0,0 +1,22 @@ +From 2c0d77baf0bc0232ea4d6d05e46c1432aab89b3a Mon Sep 17 00:00:00 2001 +From: Silvio Traversaro +Date: Wed, 13 Nov 2024 19:53:48 +0100 +Subject: [PATCH] Install library in default location + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 899d057..521e7b0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -464,7 +464,7 @@ if(NOT ASL_SKIP_INSTALL) + install(FILES ${ASL2_HEADERS} ${ASL2_SOURCE_DIR}/opcode.hd ${ASL2_SOURCE_DIR}/r_opn.hd + ${GENERATED_INCLUDE_DIR}/stdio1.h ${GENERATED_INCLUDE_DIR}/arith.h + DESTINATION include/asl2 COMPONENT asl) +- install(TARGETS asl asl2 EXPORT ampl-asl-config DESTINATION lib COMPONENT asl) ++ install(TARGETS asl asl2 EXPORT ampl-asl-config COMPONENT asl) + if(BUILD_MT_LIBS) + install(TARGETS asl-mt asl2-mt EXPORT ampl-asl-config DESTINATION lib COMPONENT asl) + endif()