1 2 3 4 5 6 7 8 9 10 11 12 13
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) INCLUDE_DIRECTORIES(${LUA_INCLUDE_DIR}) SET(sources lua_lpack.c lua_bit.c session.c ) ADD_LIBRARY(luasupp SHARED ${sources}) TARGET_LINK_LIBRARIES(luasupp ${LUA_LIBRARIES}) INSTALL(TARGETS luasupp LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp)