addded SDL2_ttf to cmakelists
This commit is contained in:
parent
bb67a87451
commit
1c10c405be
1 changed files with 2 additions and 1 deletions
|
|
@ -34,6 +34,7 @@ if(ARCHEUS_STD_SDL)
|
||||||
|
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
find_package(SDL2_image REQUIRED)
|
find_package(SDL2_image REQUIRED)
|
||||||
|
find_package(SDL2_ttf REQUIRED)
|
||||||
|
|
||||||
string(APPEND ARCHEUS_STD_FLAGS "-DARC_SDL ")
|
string(APPEND ARCHEUS_STD_FLAGS "-DARC_SDL ")
|
||||||
endif()
|
endif()
|
||||||
|
|
@ -129,7 +130,7 @@ if(ARCHEUS_STD_SDL)
|
||||||
PRIVATE ${SDL2IMAGE_INCLUDE_DIRS}
|
PRIVATE ${SDL2IMAGE_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(archeus_std PUBLIC ${SDL2_LIBRARIES} SDL2_image::SDL2_image)
|
target_link_libraries(archeus_std PUBLIC ${SDL2_LIBRARIES} SDL2_image::SDL2_image SDL2_ttf::SDL2_ttf)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ARCHEUS_STD_OPENGL)
|
if(ARCHEUS_STD_OPENGL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue