summaryrefslogtreecommitdiff
path: root/lua/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lua/CMakeLists.txt')
-rw-r--r--lua/CMakeLists.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/lua/CMakeLists.txt b/lua/CMakeLists.txt
index ba70561..584648d 100644
--- a/lua/CMakeLists.txt
+++ b/lua/CMakeLists.txt
@@ -9,12 +9,11 @@ pkg_search_module(LUA REQUIRED lua5.2 lua)
include_directories(${LUA_INCLUDE_DIRS})
link_directories(${LUA_LIBRARY_DIRS})
-#include_directories(libkms)
-#XXX
-include_directories(../libkms++)
+# XXX how to add these inc dirs in a proper way?
+include_directories(../libkms++ ../libkmstest)
set_source_files_properties(luakms.i PROPERTIES CPLUSPLUS ON)
swig_add_module(luakms lua luakms.i)
-swig_link_libraries(luakms kms++ ${LIBDRM_LIBRARIES} ${LUA_LIBRARIES})
+swig_link_libraries(luakms kms++ kmstest ${LIBDRM_LIBRARIES} ${LUA_LIBRARIES})
add_custom_target(luaextras SOURCES test.lua)