this repo has no description
at fixPythonPipStalling 43 lines 951 B view raw
1project(OpenGL) 2 3remove_sdk_framework(OpenGL) 4 5set(DYLIB_COMPAT_VERSION "1.0.0") 6set(DYLIB_CURRENT_VERSION "1.0.0") 7 8set(FRAMEWORK_VERSION "A") 9 10include(darling_framework) 11 12find_package(PkgConfig REQUIRED) 13pkg_check_modules(PC_EGL egl) 14 15include_directories(${PC_EGL_INCLUDE_DIRS}) 16 17generate_sdk_framework(OpenGL 18 VERSION ${FRAMEWORK_VERSION} 19 HEADER "include/OpenGL" 20) 21 22add_framework(OpenGL 23 FAT 24 CURRENT_VERSION 25 VERSION ${FRAMEWORK_VERSION} 26 27 SOURCES 28 OpenGL.c 29 30 DEPENDENCIES 31 system 32 GL 33 GLU 34 EGL 35 CoreFoundation 36 CoreGraphics 37) 38 39set_property(TARGET OpenGL APPEND_STRING PROPERTY LINK_FLAGS 40 " -Wl,-reexport_library,${CMAKE_BINARY_DIR}/src/native/libGL.dylib \ 41 -Wl,-reexport_library,${CMAKE_BINARY_DIR}/src/native/libGLU.dylib ") 42InstallSymlink(Versions/Current/Libraries 43 "${CMAKE_INSTALL_PREFIX}/libexec/darling/System/Library/Frameworks/OpenGL.framework/Libraries")