Changeset b6fbd68 in tol for tolbase/ThirdParty/CMakeLists.txt
- Timestamp:
- Mar 14, 2017, 6:12:40 PM (10 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 1a9dba7
- Parents:
- aab0b35
- File:
-
- 1 edited
-
tolbase/ThirdParty/CMakeLists.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tolbase/ThirdParty/CMakeLists.txt
raab0b35 rb6fbd68 51 51 install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib/Tktable${TKTABLE_VERSION} COMPONENT RUNTIME DESTINATION lib ) 52 52 endif( BUILD_TKTABLE ) 53 54 if( NOT IMG_VERSION ) 55 set( IMG_VERSION 1.4.6 ) 56 endif( ) 57 58 if( BUILD_IMG ) 59 message( STATUS "Third party Img${IMG_VERSION} will be built." ) 60 ExternalProject_Add( img 61 URL ${CMAKE_CURRENT_SOURCE_DIR}/Img-Source-${IMG_VERSION}.tar.gz 62 PREFIX ${CMAKE_CURRENT_BINARY_DIR} 63 CONFIGURE_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/src/img/configure 64 --prefix=${CMAKE_CURRENT_BINARY_DIR} 65 --exec-prefix=${CMAKE_CURRENT_BINARY_DIR} 66 --with-tcl=${TCL_LIB_DIR} 67 --with-tk=${TK_LIB_DIR} 68 ) 69 install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib/Img${IMG_VERSION} COMPONENT RUNTIME DESTINATION lib ) 70 endif( BUILD_IMG )
Note: See TracChangeset
for help on using the changeset viewer.
