add OpenVulkano prefix to cmake options
This commit is contained in:
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