Create an include
This commit is contained in:
parent
2dfd119c54
commit
727a2c5e76
14 changed files with 2 additions and 2 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Reference in a new issue