Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 8, 2016, 9:05:10 AM (7 years ago)
Author:
ahedges
Message:

comment out some stuff and update the cmake file for macOS 10.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_HS16/cmake/PackageConfigOSX.cmake

    r8368 r11278  
    2626INCLUDE(CheckPackageVersion)
    2727
    28 CHECK_PACKAGE_VERSION(2.0)
     28CHECK_PACKAGE_VERSION(3.0)
    2929
    3030IF(NOT _INTERNAL_PACKAGE_MESSAGE)
    3131  MESSAGE(STATUS "Using library package for the dependencies.")
    32  
     32
    3333  # The following shell script sets the appropriate install_names for our libraries
    3434  # and therefore it must be run before anything else is set, dep-package-wise.
     
    3838      COMMAND ${DEPENDENCY_PACKAGE_DIR}/install_dependencies.sh
    3939      WORKING_DIRECTORY ${DEPENDENCY_PACKAGE_DIR}
    40       OUTPUT_FILE ${CMAKE_BINARY_DIR}/dep_pack_install_log.keep_me 
     40      OUTPUT_FILE ${CMAKE_BINARY_DIR}/dep_pack_install_log.keep_me
    4141    )
    4242  ENDIF()
     
    6262SET(OGRE_NEEDS_BOOST TRUE)
    6363
    64 # For OS X 10.5 we have to ship modified headers to make it compile
    65 # on gcc >= 4.2 (binaries stay the same)
    66 # Sets the library path for the FIND_LIBRARY
    67 IF(CMAKE_SYSTEM_VERSION STREQUAL "10.5")
    68   SET(ENV{OPENALDIR} ${DEP_INCLUDE_DIR}/openal)
    69 ENDIF()
    70 
    7164### INSTALL ###
    7265
     
    7871#  DESTINATION lib/tcl
    7972#)
    80 
    81 # TODO: Install on OSX
    82 IF(FALSE)
    83   ## DEBUG
    84   # When installing a debug version, we really can't know which libraries
    85   # are used in released mode because there might be deps of deps.
    86   # --> Copy all of them, except the debug databases
    87   INSTALL(
    88     DIRECTORY ${DEP_BINARY_DIR}/
    89     DESTINATION bin
    90     CONFIGURATIONS Debug
    91     REGEX "^.*\\.pdb$" EXCLUDE
    92   )
    93 
    94   ## RELEASE
    95   # Try to filter out all the debug libraries. If the regex doesn't do the
    96   # job anymore, simply adjust it.
    97   INSTALL(
    98     DIRECTORY ${DEP_BINARY_DIR}/
    99     DESTINATION bin
    100     CONFIGURATIONS RelForDevs Release RelWithDebInfo MinSizeRel
    101     REGEX "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$" EXCLUDE
    102   )
    103 ENDIF()
Note: See TracChangeset for help on using the changeset viewer.