Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 24, 2009, 9:31:31 PM (15 years ago)
Author:
rgrieder
Message:

Fixed installation: The Tcl script library should now be found in the installed version as well.

Location:
code/branches/resource/cmake
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource/cmake/Media.cmake

    r2721 r3345  
    4545################ Installation #################
    4646
    47 # Try no to copy both tcl script file libraries
    48 IF(TCL_LIBRARY MATCHES "85|8\\.5")
    49   SET(TCL_EXCLUDE_PATTERN "tcl8\\.4")
    50 ELSEIF(TCL_LIBRARY MATCHES "84|8\\.4")
    51   SET(TCL_EXCLUDE_PATTERN "tcl8\\.5")
    52 ENDIF()
    53 
    5447INSTALL(
    5548  DIRECTORY ${CMAKE_MEDIA_OUTPUT_DIRECTORY}/
    5649  DESTINATION ${ORXONOX_MEDIA_INSTALL_PATH}
    57   REGEX "\\.svn$|_svn$|backToPNG|${TCL_EXCLUDE_PATTERN}" EXCLUDE
     50  REGEX "\\.svn$|_svn$|backToPNG" EXCLUDE
    5851)
  • code/branches/resource/cmake/PackageConfig.cmake

    r3344 r3345  
    4545LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib-1.2.3/include)
    4646
    47 SET(TCL_LIBRARY_DIR ${DEPENDENCY_PACKAGE_DIR}/tcl)
     47### INSTALL ###
    4848
    49 ### INSTALL ###
     49# Tcl script library
     50INSTALL(
     51  DIRECTORY ${DEP_LIBRARY_DIR}/tcl/
     52  DESTINATION lib/tcl
     53)
     54
    5055# On Windows, DLLs have to be in the executable folder, install them
    5156IF(WIN32 AND DEP_BINARY_DIR)
Note: See TracChangeset for help on using the changeset viewer.