source: tol/toltcl/library/CMakeLists.txt

devel
Last change on this file was e64ad71, checked in by Jorge Pérez <josp.jorge@…>, 12 years ago

refs #1812, refs #1818, tolsh es parte de toltcl a partir de ahora

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@6467 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 497 bytes
RevLine 
[3395277]1if( POLICY CMP0026 )
2  cmake_policy( SET CMP0026 OLD )
3endif( POLICY CMP0026 )
4
[b6e5dacc]5get_target_property( TOLTCL_LIB_LOCATION toltcl LOCATION )
6get_filename_component( TOLTCL_LIB_NAME ${TOLTCL_LIB_LOCATION} NAME )
7message( STATUS ${TOLTCL_LIB_NAME} )
8
9configure_file (
10  "${CMAKE_CURRENT_SOURCE_DIR}/pkgIndex.tcl.in"
11  "${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl"
12  )
13
[e64ad71]14install( FILES "${CMAKE_CURRENT_BINARY_DIR}/pkgIndex.tcl" toltcl.tcl tolsh.tcl
[3395277]15  COMPONENT RUNTIME DESTINATION "${TOLTCL_DEST_DIR}" )
[b6e5dacc]16
Note: See TracBrowser for help on using the repository browser.