Create an include

This commit is contained in:
Corentin Jabot 2021-07-05 12:02:26 +02:00
parent 2dfd119c54
commit 727a2c5e76
14 changed files with 2 additions and 2 deletions

View file

@ -9,9 +9,9 @@ file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
add_library(libpacman ${sources})
target_include_directories(libpacman PUBLIC .)
target_include_directories(libpacman PUBLIC include)
target_link_libraries(libpacman PUBLIC fmt::fmt sfml-graphics)
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
target_link_libraries(libpacman PUBLIC OpenGL::OpenGL OpenGL::GLX)
endif ()
endif ()