Removed scope classifier for library dependencies

This commit is contained in:
Alejandro Saucedo 2021-03-14 10:08:32 +00:00
parent 953dc54cb5
commit 4e1ef1fae8

View file

@ -57,7 +57,7 @@ target_include_directories(
if(NOT KOMPUTE_OPT_ANDOID_BUILD) if(NOT KOMPUTE_OPT_ANDOID_BUILD)
target_link_libraries( target_link_libraries(
kompute PRIVATE kompute
Vulkan::Vulkan Vulkan::Vulkan
) )
else() else()
@ -87,7 +87,7 @@ else()
endif() endif()
target_link_libraries( target_link_libraries(
kompute PUBLIC kompute
fmt::fmt fmt::fmt
) )
@ -103,7 +103,7 @@ if(KOMPUTE_OPT_ENABLE_SPDLOG)
endif() endif()
target_link_libraries( target_link_libraries(
kompute PUBLIC kompute
spdlog::spdlog spdlog::spdlog
) )
endif() endif()
@ -114,7 +114,7 @@ endif()
if(KOMPUTE_OPT_ANDOID_BUILD) if(KOMPUTE_OPT_ANDOID_BUILD)
target_link_libraries( target_link_libraries(
kompute PRIVATE kompute
kompute_vk_ndk_wrapper kompute_vk_ndk_wrapper
log log
android android
@ -152,8 +152,7 @@ if(NOT KOMPUTE_OPT_DISABLE_SHADER_UTILS)
kompute PRIVATE kompute PRIVATE
${PROJECT_SOURCE_DIR}/external/glslang) ${PROJECT_SOURCE_DIR}/external/glslang)
target_link_libraries( target_link_libraries(kompute
kompute PUBLIC
# Not including hlsl support # Not including hlsl support
# HLSL # HLSL
# glslang includes OGLCompiler, OSDependent, MachineIndependent # glslang includes OGLCompiler, OSDependent, MachineIndependent
@ -166,8 +165,7 @@ if(NOT KOMPUTE_OPT_DISABLE_SHADER_UTILS)
kompute PRIVATE kompute PRIVATE
${GLSLANG_GENERATED_INCLUDEDIR}) ${GLSLANG_GENERATED_INCLUDEDIR})
target_link_libraries( target_link_libraries(kompute
kompute PUBLIC
# Not including hlsl support # Not including hlsl support
# glslang::HLSL # glslang::HLSL
# Adding explicit dependencies to match above # Adding explicit dependencies to match above