mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-10 01:01:46 +00:00
Apply suggestions from code review
Co-authored-by: Walter Schell <3580170+walterschell@users.noreply.github.com>
This commit is contained in:
parent
be9aad4a56
commit
045961e7a0
@ -3,6 +3,7 @@ project(lua LANGUAGES C VERSION 5.4.2)
|
|||||||
|
|
||||||
option(LUA_SUPPORT_DL "Support dynamic loading of compiled modules" OFF)
|
option(LUA_SUPPORT_DL "Support dynamic loading of compiled modules" OFF)
|
||||||
option(LUA_BUILD_AS_CXX "Build lua as C++" OFF)
|
option(LUA_BUILD_AS_CXX "Build lua as C++" OFF)
|
||||||
|
enable_language(CXX)
|
||||||
|
|
||||||
if(${PROJECT_NAME} STREQUAL ${CMAKE_PROJECT_NAME})
|
if(${PROJECT_NAME} STREQUAL ${CMAKE_PROJECT_NAME})
|
||||||
set(TOP_LEVEL TRUE)
|
set(TOP_LEVEL TRUE)
|
||||||
|
Loading…
Reference in New Issue
Block a user