Skip to content

Install using LuaRocks failed within cmake #6

@iar74

Description

@iar74

Hi,

I am trying to install LRDB via lua rocks (v2.4.3).
It finds the rockspec, clones from github (7144514) but failes within cmake:

CMake Error at luarocks_cmake.txt:36 (install):
install Library TARGETS given no DESTINATION!
Call Stack (most recent call first):
CMakeLists.txt:2 (include)

The respective line is:

install(TARGETS lrdb_server LIBRARY DESTINATION ${INSTALL_LIBDIR})

Seems to me that INSTALL_LIBDIR is not expanded to any value.

Now, I am not the expert when it comes to LuaRocks, is this a variable to be provided by lua-rocks? Or so I set this when installing lua rocks?

Any hint would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions