cmake: Don't use unqualified target_link_libraries

You can't mix unqualified and qualified link libraries (PUBLIC / PRIVATE).
Use the modern form.
This commit is contained in:
Florent Castelli
2017-02-08 02:57:36 +01:00
parent a9ed44cd48
commit 8c82607c95
3 changed files with 3 additions and 3 deletions

View File

@ -37,5 +37,5 @@ include_directories(SYSTEM ${CMAKE_SOURCE_DIR}/Externals/glslang/SPIRV)
# Link against glslang, the other necessary libraries are referenced by the executable.
add_dolphin_library(videovulkan "${SRCS}" "${LIBS}")
target_link_libraries(videovulkan glslang)
target_link_libraries(videovulkan PRIVATE glslang)