implement parsing args in blocky CLI tool
This commit is contained in:
16
thirdparty/CMakeLists.txt
vendored
16
thirdparty/CMakeLists.txt
vendored
@@ -1,6 +1,20 @@
|
||||
include(FetchContent)
|
||||
|
||||
|
||||
# ---- args ----
|
||||
# repository: https://github.com/Taywee/args
|
||||
# license : MIT
|
||||
|
||||
FetchContent_Declare(
|
||||
args
|
||||
URL "https://github.com/Taywee/args/archive/refs/tags/6.3.0.zip"
|
||||
)
|
||||
|
||||
set(ARGS_BUILD_EXAMPLE OFF)
|
||||
set(ARGS_BUILD_UNITTESTS OFF)
|
||||
FetchContent_MakeAvailable(args)
|
||||
|
||||
|
||||
# ---- GLEW ----
|
||||
# repository: https://github.com/Perlmint/glew-cmake
|
||||
# license : Modified BSD License, the Mesa 3-D License (MIT) and the Khronos License (MIT).
|
||||
@@ -11,7 +25,7 @@ FetchContent_Declare(
|
||||
)
|
||||
FetchContent_MakeAvailable(glew)
|
||||
|
||||
if (KINGTAKER_STATIC)
|
||||
if (BLOCKY_STATIC)
|
||||
add_library(glew ALIAS libglew_static)
|
||||
else()
|
||||
add_library(glew ALIAS libglew_shared)
|
||||
|
Reference in New Issue
Block a user