Merge pull request #30 from mengler-tomas/master

Updated CMakeLists.txt
This commit is contained in:
Walter Schell 2023-08-08 21:53:38 -04:00 committed by GitHub
commit 88246d621a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)