Guest User

Untitled

a guest
Jul 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. # Find Lua
  2. FIND_PACKAGE(Lua51 REQUIRED)
  3. IF(LUA51_FOUND)
  4. TARGET_LINK_LIBRARIES(CorsixTH ${LUA_LIBRARY})
  5. INCLUDE_DIRECTORIES(${LUA_INCLUDE_DIR})
  6. message(" Lua 5.1 found")
  7. ELSE(LUA51_FOUND)
  8. message(FATAL_ERROR "Error: Lua library not found, it is required to build")
  9. ENDIF(LUA51_FOUND)
Add Comment
Please, Sign In to add comment