Skip to content

Commit 35e5469

Browse files
Use PROJECT_VERSION instead of CMAKE_PROJECT_VERSION
1 parent ae0461b commit 35e5469

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
@@ -52,7 +52,7 @@ if(WIN32)
5252
set(BUILD_DLL_VERSIONINFO "" CACHE STRING "Set the version to be used in the loader.rc file. Default value is the currently generated header version")
5353
endif()
5454

55-
find_package(VulkanHeaders ${CMAKE_PROJECT_VERSION} CONFIG QUIET)
55+
find_package(VulkanHeaders ${PROJECT_VERSION} CONFIG QUIET)
5656

5757
include(GNUInstallDirs)
5858

0 commit comments

Comments
 (0)