Changeset fc40744 in tol


Ignore:
Timestamp:
Feb 15, 2016, 12:23:09 PM (11 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
021afa6
Parents:
e16e124
Message:

refs #1899, correccion a la regla install de tclcurl

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • toltcl/ThirdParty/CMakeLists.txt

    re16e124 rfc40744  
    44get_filename_component( TK_LIB_DIR ${TK_LIBRARY} DIRECTORY )
    55
     6if( NOT TCLCURL_VERSION )
     7  set( TCLCURL_VERSION 7.22.0 )
     8endif( )
     9
    610if( BUILD_TCLCURL )
    7   if( TCLCURL_VERSION )
    8     set( tclcurl_tgz "TclCurl-${TCLCURL_VERSION}.tar.gz" )
    9   else( TCLCURL_VERSION )
    10     set( tclcurl_tgz "TclCurl-7.22.0.tar.gz" )
    11   endif( TCLCURL_VERSION )
     11  set( tclcurl_tgz "TclCurl-${TCLCURL_VERSION}.tar.gz" )
    1212  ExternalProject_Add( tclcurl
    1313    URL ${CMAKE_CURRENT_SOURCE_DIR}/${tclcurl_tgz}
    … …  
    1919    BUILD_IN_SOURCE 1
    2020    )
     21  install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib/TclCurl${TCLCURL_VERSION} COMPONENT RUNTIME DESTINATION lib )
    2122endif( BUILD_TCLCURL )
    2223
    23 if( BUILD_TCLCURL )
    24   file( GLOB lib_children
    25     ${CMAKE_CURRENT_BINARY_DIR}/lib/* )
    26  
    27   #message( STATUS "lib_children = ${lib_children}" )
    28  
    29   install( DIRECTORY ${lib_children} COMPONENT RUNTIME DESTINATION lib )
    30 endif( BUILD_TCLCURL )
Note: See TracChangeset for help on using the changeset viewer.