Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8125


Ignore:
Timestamp:
Mar 26, 2011, 9:00:35 PM (14 years ago)
Author:
youngk
Message:

The dependency package now installs itself automatically on Macs

File:
1 edited

Legend:

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

    r8056 r8125  
    3030IF(NOT _INTERNAL_PACKAGE_MESSAGE)
    3131  MESSAGE(STATUS "Using library package for the dependencies.")
     32 
     33  # The following shell script sets the appropriate install_names for our libraries
     34  # and therefore it must be run before anything else is set, dep-package-wise.
     35  EXECUTE_PROCESS(
     36    COMMAND ${DEPENDENCY_PACKAGE_DIR}/install_dependencies.sh
     37    WORKING_DIRECTORY ${DEPENDENCY_PACKAGE_DIR}
     38    OUTPUT_FILE ${CMAKE_BINARY_DIR}/dep_pack_install_log.keep_me
     39  )
    3240  SET(_INTERNAL_PACKAGE_MESSAGE 1 CACHE INTERNAL "Do not edit!" FORCE)
    3341ENDIF()
     
    5866ENDIF()
    5967
    60 # Xcode won't be able to run the toluabind code generation if we're using the dependency package
    61 #IF(DEPENDENCY_PACKAGE_ENABLE)
    62 #  IF(${CMAKE_GENERATOR} STREQUAL "Xcode")
    63 #    SET(ENV{DYLD_LIBRARY_PATH}               ${DEPENDENCY_PACKAGE_DIR}/lib)
    64 #    SET(ENV{DYLD_FRAMEWORK_PATH}             ${DEPENDENCY_PACKAGE_DIR}/Library/Frameworks)
    65 #  ENDIF(${CMAKE_GENERATOR} STREQUAL "Xcode")
    66 #ENDIF(DEPENDENCY_PACKAGE_ENABLE)
    67 
    6868### INSTALL ###
    6969
    7070# Tcl script library
    7171# TODO: How does this work on OS X?
     72# Concerning all OS X install procedures: use CPACK
    7273#INSTALL(
    7374#  DIRECTORY ${DEP_LIBRARY_DIR}/tcl/
Note: See TracChangeset for help on using the changeset viewer.