add OpenVulkano prefix to cmake options
This commit is contained in:
6
3rdParty/CMakeLists.txt
vendored
6
3rdParty/CMakeLists.txt
vendored
@@ -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 ()
|
||||
2
3rdParty/assimp/CMakeLists.txt
vendored
2
3rdParty/assimp/CMakeLists.txt
vendored
@@ -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)
|
||||
|
||||
4
3rdParty/msdf/CMakeLists.txt
vendored
4
3rdParty/msdf/CMakeLists.txt
vendored
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user