port to OpenBSD

This commit is contained in:
Guilherme Janczak
2024-04-18 10:58:08 +00:00
parent e69486d2cb
commit 50dc0ffbce
8 changed files with 55 additions and 30 deletions

View File

@ -27,14 +27,10 @@ add_library(videoogl
VideoBackend.h
)
target_link_libraries(videoogl
PUBLIC
common
videocommon
PRIVATE
${X11_LIBRARIES}
)
target_link_libraries(videoogl PUBLIC common videocommon)
if(X11_FOUND)
target_link_libraries(videoogl PRIVATE PkgConfig::X11)
endif()
if(MSVC)
# Add precompiled header