add OpenVulkano prefix to cmake options

This commit is contained in:
ohyzha
2025-01-24 17:14:24 +02:00
parent 90dc67ddb8
commit a61674b602
7 changed files with 20 additions and 20 deletions

View File

@@ -37,14 +37,14 @@ add_subdirectory(moodycamel_concurrentqueue)
add_subdirectory(tinyusdz)
add_subdirectory(dds_image)
if (NOT IOS AND ENABLE_CURL)
if (NOT IOS AND OPENVULKANO_ENABLE_CURL)
add_subdirectory(curl)
endif()
if (ENABLE_TEST)
if (OPENVULKANO_ENABLE_TEST)
add_subdirectory(catch2)
endif ()
if (ENABLE_KTX)
if (OPENVULKANO_ENABLE_KTX)
add_subdirectory(ktx-software)
endif ()

View File

@@ -7,7 +7,7 @@ if (NOT IOS)
endif ()
if (assimp_FOUND OR ASSIMP_FOUND)
message("Using system assimp")
elseif (ENABLE_ASSIMP)
elseif (OPENVULKANO_ENABLE_ASSIMP)
message("Building assimp from sources")
if(NOT DEFINED ASSIMP_REPO)
set(ASSIMP_REPO https://github.com/assimp/assimp.git)

View File

@@ -1,4 +1,4 @@
if (ENABLE_MSDF)
if (OPENVULKANO_ENABLE_MSDF)
include(FetchContent)
if(NOT DEFINED MSDFGEN_REPO)
@@ -96,7 +96,7 @@ if (ENABLE_MSDF)
endif()
function(LinkMsdf TARGET)
if (ENABLE_MSDF)
if (OPENVULKANO_ENABLE_MSDF)
target_link_libraries(${TARGET} PUBLIC msdfgen::msdfgen msdfgen::msdfgen-ext msdf-atlas-gen)
if (FREETYPE_BUILT_FROM_SOURCES)
target_include_directories(${TARGET} PUBLIC ${FREETYPE_INCLUDE_DIR})