Update CMakeLists.txt

This commit is contained in:
Kae 2024-02-20 16:59:47 +11:00
parent 33c61c540e
commit 533ad7f943

View File

@ -424,24 +424,19 @@ ENDIF ()
FIND_PACKAGE (ZLIB REQUIRED)
FIND_PACKAGE (PNG REQUIRED)
FIND_PACKAGE (freetype CONFIG REQUIRED)
FIND_PACKAGE (Freetype REQUIRED)
FIND_PACKAGE (OggVorbis REQUIRED)
INCLUDE_DIRECTORIES (SYSTEM
${ZLIB_INCLUDE_DIR}
${PNG_INCLUDE_DIR}
${FREETYPE_INCLUDE_DIRS}
${OGGVORBIS_INCLUDE_DIR}
)
SET (STAR_EXT_LIBS ${STAR_EXT_LIBS}
${VORBISFILE_LIBRARY}
${VORBIS_LIBRARY}
${OGG_LIBRARY}
${FREETYPE_LIBRARY}
${PNG_LIBRARY}
${ZLIB_LIBRARY}
opus
ZLIB::ZLIB
PNG::PNG
Freetype::Freetype
${OGGVORBIS_LIBRARIES}
opus # Currently a submodule from extern
)
IF (STAR_BUILD_GUI)