mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-09 08:41:47 +00:00
Merge pull request #30 from mengler-tomas/master
Updated CMakeLists.txt
This commit is contained in:
commit
88246d621a
@ -25,7 +25,7 @@ else()
|
|||||||
option(LUA_BUILD_COMPILER "Build luac compiler" ON)
|
option(LUA_BUILD_COMPILER "Build luac compiler" ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory(lua-${CMAKE_PROJECT_VERSION})
|
add_subdirectory(lua-${PROJECT_VERSION})
|
||||||
|
|
||||||
if(LUA_ENABLE_TESTING)
|
if(LUA_ENABLE_TESTING)
|
||||||
add_test(NAME lua-testsuite COMMAND lua -e "_U=true" all.lua WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lua-${CMAKE_PROJECT_VERSION}-tests)
|
add_test(NAME lua-testsuite COMMAND lua -e "_U=true" all.lua WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lua-${CMAKE_PROJECT_VERSION}-tests)
|
||||||
|
Loading…
Reference in New Issue
Block a user