Merge pull request #290 from arbmarton/fix_cmake_windows

Freetype find_package only on macos
This commit is contained in:
Joey de Vries
2022-03-19 07:44:55 +01:00
committed by GitHub

View File

@@ -30,8 +30,10 @@ message(STATUS "Found ASSIMP in ${ASSIMP_INCLUDE_DIR}")
# message(STATUS "Found SOIL in ${SOIL_INCLUDE_DIR}")
# find_package(GLEW REQUIRED)
# message(STATUS "Found GLEW in ${GLEW_INCLUDE_DIR}")
if(APPLE)
find_package(Freetype REQUIRED)
message(STATUS "Found Freetype in ${FREETYPE_INCLUDE_DIRS}")
endif(APPLE)
if(WIN32)
set(LIBS glfw3 opengl32 assimp freetype irrKlang)