diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b77c27..b2fd740 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)