Fixed a few things

This commit is contained in:
2025-11-06 01:06:46 +01:00
parent e116e0249d
commit 89a5ae1304
8 changed files with 16 additions and 11 deletions

View File

@@ -7,12 +7,12 @@ set(POSITION_INDEPENDENT_CODE YES)
set(C_STANDARD 11)
add_compile_options(-Wall -Wextra)
pkg_check_modules(CONSTRAIN REQUIRED luajit x11 xi xfixes xrandr)
pkg_check_modules(CONSTRAIN REQUIRED lua54 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})
pkg_check_modules(PWCALL REQUIRED luajit gobject-2.0)
pkg_check_modules(PWCALL REQUIRED lua54 gobject-2.0)
add_library(pwcall SHARED lib/pwcall.cxx)
target_link_libraries(pwcall ${PWCALL_LIBRARIES})
target_include_directories(pwcall PUBLIC ${PWCALL_INCLUDE_DIRS})