Fix failing to find xcb

This commit is contained in:
SeanOMik 2021-12-07 21:03:05 -05:00
parent 23f88da81a
commit 6f20d27117
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
find_package(PkgConfig) find_package(PkgConfig)
if(NOT XCB_FIND_COMPONENTS) if(NOT XCB_FIND_COMPONENTS)
set(XCB_FIND_COMPONENTS XCB) set(XCB_FIND_COMPONENTS xcb)
endif() endif()
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)

View File

@ -5,7 +5,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMake")
add_executable(swm src/main.cpp) add_executable(swm src/main.cpp)
find_package(XCB REQUIRED) find_package(xcb REQUIRED)
find_package(toml11 REQUIRED) find_package(toml11 REQUIRED)
# Link headers and source files. # Link headers and source files.