From ee48b7a841615226d9aea9b51dbc619b051461d0 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 27 Mar 2011 01:47:23 +0100 Subject: [PATCH] fix lua plugin linker error --- lua/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/CMakeLists.txt b/lua/CMakeLists.txt index fe96061..b3e2ca7 100644 --- a/lua/CMakeLists.txt +++ b/lua/CMakeLists.txt @@ -5,6 +5,7 @@ PROJECT(uci C) SET(CMAKE_INSTALL_PREFIX /) ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I..) +LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..) IF(APPLE) SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -undefined dynamic_lookup") -- 2.25.1