aboutsummaryrefslogtreecommitdiff
path: root/cube
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 /cube
parent037d85128456591f6e33319c28244ad5a49cf1ad (diff)
downloadusermoji-28e73b113da0c8e2d287e7c8a275611ea9c7dbc1.tar.xz
cmake: Remove illegal CMake code
include(FindPkgConfig) technically works but is very wrong.
Diffstat (limited to 'cube')
-rw-r--r--cube/CMakeLists.txt2
1 files changed, 1 insertions, 1 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)