Changeset fc40744 in tol
- Timestamp:
- Feb 15, 2016, 12:23:09 PM (11 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 021afa6
- Parents:
- e16e124
- File:
-
- 1 edited
-
toltcl/ThirdParty/CMakeLists.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
toltcl/ThirdParty/CMakeLists.txt
re16e124 rfc40744 4 4 get_filename_component( TK_LIB_DIR ${TK_LIBRARY} DIRECTORY ) 5 5 6 if( NOT TCLCURL_VERSION ) 7 set( TCLCURL_VERSION 7.22.0 ) 8 endif( ) 9 6 10 if( 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" ) 12 12 ExternalProject_Add( tclcurl 13 13 URL ${CMAKE_CURRENT_SOURCE_DIR}/${tclcurl_tgz} … … 19 19 BUILD_IN_SOURCE 1 20 20 ) 21 install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib/TclCurl${TCLCURL_VERSION} COMPONENT RUNTIME DESTINATION lib ) 21 22 endif( BUILD_TCLCURL ) 22 23 23 if( BUILD_TCLCURL )24 file( GLOB lib_children25 ${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.
