From 6d8963698f6c46a3f2d811f03108cf9d7f62c361 Mon Sep 17 00:00:00 2001 From: syzygial <67280346+syzygial@users.noreply.github.com> Date: Sat, 31 May 2025 12:04:26 -0400 Subject: [PATCH] fix INTERFACE_LINK_LIBRARIES property for lualib --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b54f71a3..c7a677f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -270,7 +270,7 @@ if (sol2-is-top-level-project) set_target_properties(${lualib} PROPERTIES INTERFACE_INCLUDE_DIRECTORIES ${LUA_INCLUDE_DIR} - INTERFACE_LINK_LIBRARIES "${LUA_SEARCH_DEPENDENCY_LIBS} ${CMAKE_DL_LIBS}" + INTERFACE_LINK_LIBRARIES "${LUA_SEARCH_DEPENDENCY_LIBS};${CMAKE_DL_LIBS}" IMPORTED_LINK_INTERFACE_LANGUAGES C IMPORTED_LOCATION ${lualiblocation}) set(LUA_LIBRARIES ${lualib})