BUILD_IN -> BUILT_IN
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
parent
2bf799eeda
commit
4e9cebb308
4 changed files with 21 additions and 21 deletions
|
|
@ -95,12 +95,12 @@ kompute_option(KOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK "Whether to check if you
|
|||
kompute_option(KOMPUTE_OPT_BUILD_SHADERS "Rebuilds all compute shaders during compilation and does not use the already precompiled versions. Requires glslangValidator to be installed on your system." OFF)
|
||||
|
||||
# External components
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILD_IN_SPDLOG "Use the built-in version of Spdlog." ON)
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILD_IN_FMT "Use the built-in version of fmt." ON)
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILD_IN_GOOGLE_TEST "Use the built-in version of GoogleTest." ON)
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILD_IN_PYBIND11 "Use the built-in version of pybind11." ON)
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILD_IN_VULKAN_HEADER "Use the built-in version of Vulkan Headers. This could be helpful in case your system Vulkan Headers are to new for your driver. If you set this to false, please make sure your system Vulkan Header are supported by your driver." ON)
|
||||
kompute_option_string(KOMPUTE_OPT_BUILD_IN_VULKAN_HEADER_TAG "The git tag used for the built-in Vulkan Headers when 'KOMPUTE_OPT_USE_BUILD_IN_VULKAN_HEADER' is enabled. A list of tags can be found here: https://github.com/KhronosGroup/Vulkan-Headers/tags" "v1.2.203")
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILT_IN_SPDLOG "Use the built-in version of Spdlog." ON)
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILT_IN_FMT "Use the built-in version of fmt." ON)
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILT_IN_GOOGLE_TEST "Use the built-in version of GoogleTest." ON)
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILT_IN_PYBIND11 "Use the built-in version of pybind11." ON)
|
||||
kompute_option(KOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER "Use the built-in version of Vulkan Headers. This could be helpful in case your system Vulkan Headers are to new for your driver. If you set this to false, please make sure your system Vulkan Header are supported by your driver." ON)
|
||||
kompute_option_string(KOMPUTE_OPT_BUILT_IN_VULKAN_HEADER_TAG "The git tag used for the built-in Vulkan Headers when 'KOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER' is enabled. A list of tags can be found here: https://github.com/KhronosGroup/Vulkan-Headers/tags" "v1.2.203")
|
||||
message(STATUS "=======================================================")
|
||||
|
||||
# ####################################################
|
||||
|
|
@ -122,9 +122,9 @@ if(NOT KOMPUTE_OPT_ANDROID_BUILD)
|
|||
find_package(Vulkan REQUIRED)
|
||||
endif()
|
||||
|
||||
if(KOMPUTE_OPT_USE_BUILD_IN_VULKAN_HEADER)
|
||||
if(KOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER)
|
||||
FetchContent_Declare(vulkan_header GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Headers.git
|
||||
GIT_TAG ${KOMPUTE_OPT_BUILD_IN_VULKAN_HEADER_TAG}) # Source: https://github.com/KhronosGroup/Vulkan-Headers/tags
|
||||
GIT_TAG ${KOMPUTE_OPT_BUILT_IN_VULKAN_HEADER_TAG}) # Source: https://github.com/KhronosGroup/Vulkan-Headers/tags
|
||||
FetchContent_MakeAvailable(vulkan_header)
|
||||
|
||||
if(NOT KOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK)
|
||||
|
|
@ -140,7 +140,7 @@ endif()
|
|||
|
||||
# Spdlog
|
||||
if(NOT KOMPUTE_OPT_LOG_LEVEL_DISABLED)
|
||||
if(KOMPUTE_OPT_USE_BUILD_IN_SPDLOG)
|
||||
if(KOMPUTE_OPT_USE_BUILT_IN_SPDLOG)
|
||||
set(SPDLOG_INSTALL ${KOMPUTE_OPT_INSTALL})
|
||||
set(SPDLOG_BUILD_SHARED ${BUILD_SHARED_LIBS})
|
||||
|
||||
|
|
@ -153,7 +153,7 @@ if(NOT KOMPUTE_OPT_LOG_LEVEL_DISABLED)
|
|||
endif()
|
||||
|
||||
# fmt
|
||||
if(KOMPUTE_OPT_USE_BUILD_IN_FMT)
|
||||
if(KOMPUTE_OPT_USE_BUILT_IN_FMT)
|
||||
set(FMT_INSTALL ${KOMPUTE_OPT_INSTALL})
|
||||
FetchContent_Declare(fmt GIT_REPOSITORY https://github.com/fmtlib/fmt.git
|
||||
GIT_TAG 8.1.1) # Source: https://github.com/fmtlib/fmt/releases
|
||||
|
|
@ -164,7 +164,7 @@ endif()
|
|||
|
||||
# GoogleTest
|
||||
if(KOMPUTE_OPT_BUILD_TESTS)
|
||||
if(KOMPUTE_OPT_USE_BUILD_IN_GOOGLE_TEST)
|
||||
if(KOMPUTE_OPT_USE_BUILT_IN_GOOGLE_TEST)
|
||||
FetchContent_Declare(googletest GIT_REPOSITORY https://github.com/google/googletest.git
|
||||
GIT_TAG release-1.11.0) # Source: https://github.com/google/googletest/releases
|
||||
FetchContent_MakeAvailable(googletest)
|
||||
|
|
@ -185,7 +185,7 @@ endif()
|
|||
|
||||
# pybind11
|
||||
if(KOMPUTE_OPT_BUILD_PYTHON)
|
||||
if(KOMPUTE_OPT_USE_BUILD_IN_PYBIND11)
|
||||
if(KOMPUTE_OPT_USE_BUILT_IN_PYBIND11)
|
||||
FetchContent_Declare(pybind GIT_REPOSITORY https://github.com/pybind/pybind11.git
|
||||
GIT_TAG v2.9.2) # Source: https://github.com/pybind/pybind11/releases
|
||||
FetchContent_MakeAvailable(pybind)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue