summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Zou <xantares09@hotmail.com>2020-12-16 15:03:23 +0100
committerLenny Komow <lenny@lunarg.com>2020-12-18 12:15:59 -0700
commit66a23ac8c566299343668f094de50798a5f4a0e4 (patch)
tree10a9cd521062cba70e1a17d60cdf24e5b3a4a926
parent7a313093b5c4af964d50a5a64e73d7df6152ea3f (diff)
downloadVulkan-Loader-66a23ac8c566299343668f094de50798a5f4a0e4.tar.gz
Vulkan-Loader-66a23ac8c566299343668f094de50798a5f4a0e4.tar.bz2
Vulkan-Loader-66a23ac8c566299343668f094de50798a5f4a0e4.zip
Rename LIB_SUFFIX to VULKAN_LIB_SUFFIX
Closes #527
-rw-r--r--loader/CMakeLists.txt2
-rw-r--r--loader/vulkan.pc.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index 65951185..ba9f460f 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -327,7 +327,7 @@ if(PKG_CONFIG_FOUND)
set(PRIVATE_LIBS "${PRIVATE_LIBS} -l${LIB}")
endforeach()
if(WIN32)
- set(LIB_SUFFIX "-1")
+ set(VULKAN_LIB_SUFFIX "-1")
endif ()
configure_file("vulkan.pc.in" "vulkan.pc" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/vulkan.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
diff --git a/loader/vulkan.pc.in b/loader/vulkan.pc.in
index fc17cb1f..44049ee3 100644
--- a/loader/vulkan.pc.in
+++ b/loader/vulkan.pc.in
@@ -6,7 +6,7 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: @CMAKE_PROJECT_NAME@
Description: Vulkan Loader
Version: @VK_API_VERSION@
-Libs: -L${libdir} -lvulkan@LIB_SUFFIX@
+Libs: -L${libdir} -lvulkan@VULKAN_LIB_SUFFIX@
Libs.private: @PRIVATE_LIBS@
Cflags: -I${includedir}