File: 2001-fix-interface-link-libraries.patch

package info (click to toggle)
sol2 3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 23,096 kB
  • sloc: cpp: 43,816; ansic: 1,018; python: 356; sh: 288; makefile: 202
file content (18 lines) | stat: -rw-r--r-- 722 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix issue with cmake-generated linker command
Forwarded: https://github.com/ThePhD/sol2/pull/1705
Author: syzygial <syzygial.123@gmail.com>
Last-Update: 2025-05-30
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 94ce796..67a437d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -276,7 +276,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})