From 623146996a6a75cd7218bc6a0756511aabfd5098 Mon Sep 17 00:00:00 2001 From: Tycho Date: Tue, 7 Jan 2014 05:08:58 -0800 Subject: Fixed FreeBSD compilition --- lib/lua/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lua') diff --git a/lib/lua/CMakeLists.txt b/lib/lua/CMakeLists.txt index 63ac18e90..b4b5b5f1d 100644 --- a/lib/lua/CMakeLists.txt +++ b/lib/lua/CMakeLists.txt @@ -26,5 +26,5 @@ else() endif() if (UNIX) - target_link_libraries(lua m dl) + target_link_libraries(lua m ${DYNAMIC_LOADER}) endif() -- cgit v1.2.3