Commit 0786655c authored by Artur Grunau's avatar Artur Grunau
Browse files

Hide superfluous targets provided by LuaDist

LuaDist, the CMake-enabled distribution of Lua that the scripting
feature uses on Windows, provides several targets (lua, luac, wlua) for
which there's not much use in CAMPVis. This commit hides them from the
target list to make project files generated by CMake cleaner.

References #1
parent 1aa809a1
......@@ -51,10 +51,7 @@ IF(CAMPVIS_BUILD_LIB_LUA)
# Keep LUA_BUILD_AS_DLL in sync with BUILD_SHARED_LIBS
SET(LUA_BUILD_AS_DLL ${BUILD_SHARED_LIBS} CACHE BOOL "Build Lua library as DLL" FORCE)
# Disable features we don't need
SET(LUA_BUILD_WLUA OFF CACHE BOOL "Build wLua interpreter without console output")
ADD_SUBDIRECTORY(ext/lua)
ADD_SUBDIRECTORY(ext/lua EXCLUDE_FROM_ALL)
# If the above command failed, provide a hint how to fix the problem
IF(NOT TARGET liblua)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment