I am building the library via a script which subsequently calls "luarocks make XXX" where XXX are cwrap, paths, torch, sys, ...
"FIND_PACKAGE(Torch REQUIRED)" fails because -DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.." was removed in sys-1.1-0.rockspec
There is no such problem for other torch modules like optim, graph, ... because they contain DCMAKE_PREFIX_PATH="$(LUA_BINDIR)/.."
see discussion #7