Linking correctly to miral

This commit is contained in:
mattkae 2023-02-18 13:25:18 -05:00
parent fa68a07a25
commit 1e3c3d5720

View File

@ -14,4 +14,7 @@ find_package(PkgConfig)
pkg_check_modules(MIRAL miral REQUIRED)
find_package(OpenGL REQUIRED)
add_executable(compositor src/main.cpp)
add_executable(compositor src/main.cpp)
target_include_directories(hello_world PUBLIC SYSTEM ${MIRAL_INCLUDE_DIRS})
target_link_libraries( hello_world ${MIRAL_LDFLAGS})