Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Jan 21, 2021
2 parents ea28ff4 + eabc1b6 commit 55b20f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ set(PARTIO_VERSION_MAJOR "1")

option(PARTIO_GTEST_ENABLED "Enable GTest for tests" OFF)

if(WIN32)
if(WIN32 OR APPLE)
option(PARTIO_USE_GLVND "Use GLVND for OpenGL" OFF)
option(PARTIO_BUILD_SHARED_LIBS "Enabled shared libraries" OFF)
else()
Expand Down Expand Up @@ -77,6 +77,7 @@ endif()

if (APPLE)
set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
add_definitions(-DGL_SILENCE_DEPRECATION)
endif()

if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
Expand Down

0 comments on commit 55b20f3

Please sign in to comment.