Initial commit
This commit is contained in:
15
CMakeLists.txt
Normal file
15
CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(awesome)
|
||||
|
||||
find_package(PkgConfig)
|
||||
|
||||
set(POSITION_INDEPENDENT_CODE YES)
|
||||
set(C_STANDARD 11)
|
||||
add_compile_options(-Wall -Wextra -pedantic)
|
||||
|
||||
pkg_check_modules(CONSTRAIN REQUIRED x11 xi xfixes xrandr)
|
||||
|
||||
add_library(constrain SHARED lib/constrain.c)
|
||||
|
||||
target_link_libraries(constrain ${CONSTRAIN_LIBRARIES})
|
||||
target_include_directories(constrain PUBLIC ${CONSTRAIN_INCLUDE_DIRS})
|
||||
Reference in New Issue
Block a user