summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2022-10-26 10:40:51 -0600
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2022-10-26 12:01:46 -0600
commit28e73b113da0c8e2d287e7c8a275611ea9c7dbc1 (patch)
tree0d7ed3e5e7d1b0c73229b49ac2e1a6cde8cbb0ec
parent037d85128456591f6e33319c28244ad5a49cf1ad (diff)
downloadVulkan-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.txt2
-rw-r--r--vulkaninfo/CMakeLists.txt2
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)