Changeset 1a9dba7 in tol


Ignore:
Timestamp:
Mar 27, 2017, 2:36:35 PM (10 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
57fa1aa
Parents:
b6fbd68
Message:

fixes #1953 reglas para construir rbc desde los fuentes, CentOS 7 lo necesita

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

Location:
tolbase/ThirdParty
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/ThirdParty/CMakeLists.txt

    rb6fbd68 r1a9dba7  
    6969  install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib/Img${IMG_VERSION} COMPONENT RUNTIME DESTINATION lib )
    7070endif( BUILD_IMG )
     71
     72if( NOT RBC_VERSION )
     73  set( RBC_VERSION 0.1 )
     74endif( )
     75
     76if( BUILD_RBC )
     77  message( STATUS "Third party rbc${RBC_VERSION} will be built." )
     78  ExternalProject_Add( rbc
     79    URL ${CMAKE_CURRENT_SOURCE_DIR}/rbc${RBC_VERSION}.zip
     80    PREFIX ${CMAKE_CURRENT_BINARY_DIR}
     81    CONFIGURE_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/src/rbc/configure
     82    --prefix=${CMAKE_CURRENT_BINARY_DIR}
     83    --exec-prefix=${CMAKE_CURRENT_BINARY_DIR}
     84    --with-tcl=${TCL_LIB_DIR}
     85    --with-tk=${TK_LIB_DIR}
     86    )
     87  install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib/rbc${RBC_VERSION} COMPONENT RUNTIME DESTINATION lib )
     88endif( BUILD_RBC )
Note: See TracChangeset for help on using the changeset viewer.