diff options
author | Juan Ramos <juan@lunarg.com> | 2022-10-26 10:40:51 -0600 |
---|---|---|
committer | Juan Ramos <114601453+juan-lunarg@users.noreply.github.com> | 2022-10-26 12:01:46 -0600 |
commit | 28e73b113da0c8e2d287e7c8a275611ea9c7dbc1 (patch) | |
tree | 0d7ed3e5e7d1b0c73229b49ac2e1a6cde8cbb0ec | |
parent | 037d85128456591f6e33319c28244ad5a49cf1ad (diff) | |
download | Vulkan-Tools-28e73b113da0c8e2d287e7c8a275611ea9c7dbc1.tar.gz Vulkan-Tools-28e73b113da0c8e2d287e7c8a275611ea9c7dbc1.tar.bz2 Vulkan-Tools-28e73b113da0c8e2d287e7c8a275611ea9c7dbc1.zip |
cmake: Remove illegal CMake code
include(FindPkgConfig) technically works but is very wrong.
-rw-r--r-- | cube/CMakeLists.txt | 2 | ||||
-rw-r--r-- | vulkaninfo/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cube/CMakeLists.txt b/cube/CMakeLists.txt index 616fbc96..72e0ae92 100644 --- a/cube/CMakeLists.txt +++ b/cube/CMakeLists.txt @@ -49,7 +49,7 @@ else() endif() if(UNIX AND NOT APPLE) # i.e. Linux - include(FindPkgConfig) + find_package(PkgConfig) option(BUILD_WSI_XCB_SUPPORT "Build XCB WSI support" ON) option(BUILD_WSI_XLIB_SUPPORT "Build Xlib WSI support" ON) option(BUILD_WSI_WAYLAND_SUPPORT "Build Wayland WSI support" ON) diff --git a/vulkaninfo/CMakeLists.txt b/vulkaninfo/CMakeLists.txt index 5c05866c..47a15a9e 100644 --- a/vulkaninfo/CMakeLists.txt +++ b/vulkaninfo/CMakeLists.txt @@ -61,7 +61,7 @@ if (NOT WIN32) endif() if(UNIX AND NOT APPLE) # i.e. Linux - include(FindPkgConfig) + find_package(PkgConfig) option(BUILD_WSI_XCB_SUPPORT "Build XCB WSI support" ON) option(BUILD_WSI_XLIB_SUPPORT "Build Xlib WSI support" ON) option(BUILD_WSI_WAYLAND_SUPPORT "Build Wayland WSI support" ON) |