linux: use linux naming conventions
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index 90f1af4..b14e89d 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -44,7 +44,7 @@
if (NOT WIN32)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wpointer-arith")
- add_library(vulkan-${MAJOR} SHARED ${LOADER_SRCS})
- set_target_properties(vulkan-${MAJOR} PROPERTIES SOVERSION 0)
- target_link_libraries(vulkan-${MAJOR} -ldl -lpthread -lm)
+ add_library(vulkan SHARED ${LOADER_SRCS})
+ set_target_properties(vulkan PROPERTIES SOVERSION "1" VERSION "1.0.2")
+ target_link_libraries(vulkan -ldl -lpthread -lm)
endif()
diff --git a/loader/README.md b/loader/README.md
index bf81c20..84cdfde 100644
--- a/loader/README.md
+++ b/loader/README.md
@@ -2,7 +2,7 @@
## Overview
The Loader implements the main VK library (e.g. "vulkan-1.dll" on Windows and
-"libvulkan-1.so" on Linux). It handles layer management and driver management. The
+"libvulkan.so" on Linux). It handles layer management and driver management. The
loader fully supports multi-gpu operation. As part of this, it dispatches API
calls to the correct driver, and to the correct layers, based on the GPU object
selected by the application.
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 360c440..914d56f 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -104,7 +104,12 @@
endif()
endif()
-set (LIBVK "vulkan-${MAJOR}")
+if(WIN32)
+ set (LIBVK "vulkan-${MAJOR}")
+elseif(UNIX)
+ set (LIBVK "vulkan")
+else()
+endif()
add_executable(vk_layer_validation_tests layer_validation_tests.cpp ${COMMON_CPP})
set_target_properties(vk_layer_validation_tests