Skip to content

Commit 38e5db2

Browse files
build: Use PROJECT_VERSION instead of CMAKE_PROJECT_VERSION
1 parent 5568ce1 commit 38e5db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ endif()
5656

5757
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
5858

59-
find_package(VulkanHeaders ${CMAKE_PROJECT_VERSION} QUIET REQUIRED CONFIG)
59+
find_package(VulkanHeaders ${PROJECT_VERSION} QUIET REQUIRED CONFIG)
6060
if ((APPLE OR BUILD_TESTS) AND NOT ANDROID)
6161
find_package(VulkanLoader QUIET REQUIRED CONFIG)
6262
endif()

0 commit comments

Comments
 (0)