summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-06-13 12:50:43 +0200
committerLaG1924 <lag1924@gmail.com>2021-06-13 13:24:04 +0200
commit124f0b9c54f7dc394809d9244d7c7896c108135b (patch)
tree63fa7979f65b8657930d75dcce0bbd52aa5532ab
parentRemoved ImGui (diff)
downloadAltCraft-124f0b9c54f7dc394809d9244d7c7896c108135b.tar
AltCraft-124f0b9c54f7dc394809d9244d7c7896c108135b.tar.gz
AltCraft-124f0b9c54f7dc394809d9244d7c7896c108135b.tar.bz2
AltCraft-124f0b9c54f7dc394809d9244d7c7896c108135b.tar.lz
AltCraft-124f0b9c54f7dc394809d9244d7c7896c108135b.tar.xz
AltCraft-124f0b9c54f7dc394809d9244d7c7896c108135b.tar.zst
AltCraft-124f0b9c54f7dc394809d9244d7c7896c108135b.zip
-rw-r--r--CMakeLists.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a26b8f8..ac3c254 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,16 +107,16 @@ target_include_directories(zlib PUBLIC ${zlib_BINARY_DIR})
CPMAddPackage(
- NAME lua
+ NAME Lua
GITHUB_REPOSITORY lua/lua
VERSION 5.4.3
DOWNLOAD_ONLY YES
)
-if(lua_ADDED)
- file(GLOB lua_sources ${lua_SOURCE_DIR}/*.c)
- list(REMOVE_ITEM lua_sources "${lua_SOURCE_DIR}/lua.c" "${lua_SOURCE_DIR}/luac.c" "${lua_SOURCE_DIR}/onelua.c")
- add_library(lua STATIC ${lua_sources})
- target_include_directories(lua SYSTEM PUBLIC $<BUILD_INTERFACE:${lua_SOURCE_DIR}>)
+if(Lua_ADDED)
+ file(GLOB Lua_sources ${Lua_SOURCE_DIR}/*.c)
+ list(REMOVE_ITEM Lua_sources "${Lua_SOURCE_DIR}/lua.c" "${Lua_SOURCE_DIR}/luac.c" "${Lua_SOURCE_DIR}/onelua.c")
+ add_library(lua STATIC ${Lua_sources})
+ target_include_directories(lua SYSTEM PUBLIC $<BUILD_INTERFACE:${Lua_SOURCE_DIR}>)
install(TARGETS lua
EXPORT lua-targets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
@@ -142,7 +142,7 @@ endif()
CPMAddPackage(
- NAME freetype
+ NAME Freetype
GITHUB_REPOSITORY aseprite/freetype2
VERSION 2.10.0
GIT_TAG VER-2-10-0