From 24815c0370abce523454fcf628f1a4c8c1a5c3da Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 3 Feb 2024 14:43:41 +0100 Subject: [PATCH] fix: libpl not being installed correctly --- cmake/build_helpers.cmake | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 799d909fa..ee125f29e 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -611,6 +611,15 @@ macro(addBundledLibraries) set(LIBPL_SHARED_LIBRARY ON CACHE BOOL "" FORCE) add_subdirectory(${EXTERNAL_LIBS_FOLDER}/pattern_language EXCLUDE_FROM_ALL) + install( + TARGETS + libpl + DESTINATION + "${CMAKE_INSTALL_LIBDIR}" + PERMISSIONS + OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE + ) + if (WIN32) set_target_properties( libpl