Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 473 Bytes
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
CMAKE_POLICY(VERSION 2.6)
FIND_PACKAGE(Torch REQUIRED)
FIND_PACKAGE(ZMQ REQUIRED)
SET(src zmq.c)
SET(luasrc zmq.lua)
INCLUDE_DIRECTORIES(${ZMQ_INCLUDE_DIR})
ADD_TORCH_PACKAGE(luazmq "${src}" "${luasrc}" "Image Processing")
TARGET_LINK_LIBRARIES(luazmq luaT TH ${ZMQ_LIBRARY})
SET(src)
SET(luasrc init.lua)
ADD_TORCH_PACKAGE(parallel "${src}" "${luasrc}" "Parallel Computing")