Install couch

This commit is contained in:
Dane Johnson 2021-01-20 17:37:56 -06:00
parent 4955d77de8
commit 25c5d925fb

View File

@ -28,7 +28,7 @@ target_link_libraries(couch ${LUA_LIBRARIES})
include(UseSWIG)
set_property(SOURCE scripting/couch.i PROPERTY CPLUSPLUS ON)
swig_add_library(couchlua
TYPE STATIC
TYPE SHARED
LANGUAGE lua
SOURCES scripting/couch.i scripting/lua/helpers.i)
target_link_libraries(couchlua ${LUA_LIBRARIES})
@ -46,3 +46,5 @@ if(WIN32)
target_link_libraries(couch ssp)
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
endif(WIN32)
install(TARGETS couch couchlua)