mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Merge pull request #290 from arbmarton/fix_cmake_windows
Freetype find_package only on macos
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user