Install couch
This commit is contained in:
parent
d460d1db50
commit
70d68bd6b8
@ -28,7 +28,7 @@ target_link_libraries(couch ${LUA_LIBRARIES})
|
|||||||
include(UseSWIG)
|
include(UseSWIG)
|
||||||
set_property(SOURCE scripting/couch.i PROPERTY CPLUSPLUS ON)
|
set_property(SOURCE scripting/couch.i PROPERTY CPLUSPLUS ON)
|
||||||
swig_add_library(couchlua
|
swig_add_library(couchlua
|
||||||
TYPE STATIC
|
TYPE SHARED
|
||||||
LANGUAGE lua
|
LANGUAGE lua
|
||||||
SOURCES scripting/couch.i scripting/lua/helpers.i)
|
SOURCES scripting/couch.i scripting/lua/helpers.i)
|
||||||
target_link_libraries(couchlua ${LUA_LIBRARIES})
|
target_link_libraries(couchlua ${LUA_LIBRARIES})
|
||||||
@ -46,3 +46,5 @@ if(WIN32)
|
|||||||
target_link_libraries(couch ssp)
|
target_link_libraries(couch ssp)
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
|
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|
||||||
|
install(TARGETS couch couchlua)
|
||||||
|
Loading…
Reference in New Issue
Block a user