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 (ZLIB REQUIRED)
FIND_PACKAGE (PNG REQUIRED) FIND_PACKAGE (PNG REQUIRED)
FIND_PACKAGE (freetype CONFIG REQUIRED) FIND_PACKAGE (Freetype REQUIRED)
FIND_PACKAGE (OggVorbis REQUIRED) FIND_PACKAGE (OggVorbis REQUIRED)
INCLUDE_DIRECTORIES (SYSTEM INCLUDE_DIRECTORIES (SYSTEM
${ZLIB_INCLUDE_DIR}
${PNG_INCLUDE_DIR}
${FREETYPE_INCLUDE_DIRS}
${OGGVORBIS_INCLUDE_DIR} ${OGGVORBIS_INCLUDE_DIR}
) )
SET (STAR_EXT_LIBS ${STAR_EXT_LIBS} SET (STAR_EXT_LIBS ${STAR_EXT_LIBS}
${VORBISFILE_LIBRARY} ZLIB::ZLIB
${VORBIS_LIBRARY} PNG::PNG
${OGG_LIBRARY} Freetype::Freetype
${FREETYPE_LIBRARY} ${OGGVORBIS_LIBRARIES}
${PNG_LIBRARY} opus # Currently a submodule from extern
${ZLIB_LIBRARY}
opus
) )
IF (STAR_BUILD_GUI) IF (STAR_BUILD_GUI)