Skip to content

Commit

Permalink
Do not require pkgconfig to build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
piernov committed Feb 13, 2023
1 parent 5a7f326 commit 3c9be63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Expand Up @@ -3,7 +3,7 @@ option(ENABLE_GL1 "Build OpenGL 1 renderer." ON)
option(ENABLE_GL3 "Build OpenGL 3 renderer." ON)
option(ENABLE_GLES2 "Configure OpenGL 3 renderer to be OpenGL ES 2.0 compatible." OFF)

if(NOT WIN32 OR MINGW)
if(NOT APPLE AND NOT WIN32 OR MINGW)
find_package(PkgConfig REQUIRED)
endif()

Expand Down Expand Up @@ -180,7 +180,7 @@ else() # Other compiler/version are unsupported, use external lib
endif()

## stb ##
if(NOT WIN32 OR MINGW)
if(NOT APPLE AND NOT WIN32 OR MINGW)
pkg_check_modules(STB stb)
endif()

Expand Down

0 comments on commit 3c9be63

Please sign in to comment.