mirror of https://github.com/SeanOMik/swm.git
Fix failing to find xcb
This commit is contained in:
parent
23f88da81a
commit
6f20d27117
|
@ -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)
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue