mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-15 12:15:43 +08:00
Updated CMakeLists.txt
Changed CMAKE_PROJECT_VERSION to PROJECT_VERSION
This commit is contained in:
parent
91812f760a
commit
efc06b0b06
@ -25,7 +25,7 @@ else()
|
||||
option(LUA_BUILD_COMPILER "Build luac compiler" ON)
|
||||
endif()
|
||||
|
||||
add_subdirectory(lua-${CMAKE_PROJECT_VERSION})
|
||||
add_subdirectory(lua-${PROJECT_VERSION})
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user