Reformat CMakeLists.txt
This commit is contained in:
parent
c7ef086d3d
commit
c6191b1f5d
1 changed files with 10 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
||||||
find_package(SFML COMPONENTS COMPONENTS window graphics system CONFIG REQUIRED)
|
find_package(SFML COMPONENTS COMPONENTS window graphics system CONFIG REQUIRED)
|
||||||
find_package(fmt REQUIRED)
|
find_package(fmt REQUIRED)
|
||||||
find_package(OpenGL REQUIRED COMPONENTS OpenGL GLX)
|
find_package(OpenGL REQUIRED COMPONENTS OpenGL GLX)
|
||||||
|
|
||||||
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
|
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
|
||||||
|
|
||||||
add_library(libpacman ${ sources })
|
add_library(libpacman ${ sources })
|
||||||
|
|
||||||
target_include_directories(libpacman PUBLIC.)
|
target_include_directories(libpacman PUBLIC.)
|
||||||
target_link_libraries(libpacman PUBLIC fmt::fmt sfml - graphics sfml - window sfml - system OpenGL::OpenGL OpenGL::GLX)
|
target_link_libraries(libpacman PUBLIC fmt::fmt sfml - graphics sfml - window sfml - system OpenGL::OpenGL OpenGL::GLX)
|
||||||
|
|
Loading…
Reference in a new issue