Mercurial > hg > orthanc
comparison Resources/CMake/LuaConfiguration.cmake @ 425:26bb4d05a072
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 08 May 2013 12:04:01 +0200 |
parents | 5f6d75cd4b46 |
children | 09b3c6265a94 |
comparison
equal
deleted
inserted
replaced
424:76bc8770741b | 425:26bb4d05a072 |
---|---|
59 CHECK_INCLUDE_FILE_CXX(lua.h HAVE_LUA_H) | 59 CHECK_INCLUDE_FILE_CXX(lua.h HAVE_LUA_H) |
60 if (NOT HAVE_LUA_H) | 60 if (NOT HAVE_LUA_H) |
61 message(FATAL_ERROR "Please install the liblua-dev package") | 61 message(FATAL_ERROR "Please install the liblua-dev package") |
62 endif() | 62 endif() |
63 | 63 |
64 CHECK_LIBRARY_EXISTS(lua "lua_pcall" HAVE_LUA_LIB) | 64 CHECK_LIBRARY_EXISTS(lua lua_pcall "" HAVE_LUA_LIB) |
65 if (NOT HAVE_LUA_LIB) | 65 if (NOT HAVE_LUA_LIB) |
66 message(FATAL_ERROR "Please install the liblua-dev package") | 66 message(FATAL_ERROR "Please install the liblua-dev package") |
67 endif() | 67 endif() |
68 | 68 |
69 link_libraries(lua) | 69 link_libraries(lua) |