Updated CMakeLists.txt

Changed CMAKE_PROJECT_VERSION to PROJECT_VERSION
This commit is contained in:
mengler-tomas 2023-08-08 05:22:22 +02:00 committed by GitHub
parent 91812f760a
commit efc06b0b06
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)
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)