Changeset 57fa1aa in tol


Ignore:
Timestamp:
Mar 27, 2017, 2:52:00 PM (10 years ago)
Author:
Jorge Pérez <josp.jorge@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
6b873c7
Parents:
1a9dba7
Message:

fixes #1952 reglas para construir tktreectrl desde los fuentes, CentOS 7 lo necesita

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

Location:
tolbase/ThirdParty
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/ThirdParty/CMakeLists.txt

    r1a9dba7 r57fa1aa  
    8787  install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib/rbc${RBC_VERSION} COMPONENT RUNTIME DESTINATION lib )
    8888endif( BUILD_RBC )
     89
     90if(NOT TREECTRL_VERSION)
     91  set(TREECTRL_VERSION 2.4.1)
     92endif(NOT TREECTRL_VERSION)
     93
     94if(BUILD_TREECTRL)
     95  message( STATUS "Third party tktreectrl-${RBC_VERSION} will be built." )
     96  ExternalProject_Add( treectrl
     97    URL ${CMAKE_CURRENT_SOURCE_DIR}/tktreectrl-${TREECTRL_VERSION}.tar.gz
     98    PREFIX ${CMAKE_CURRENT_BINARY_DIR}
     99    CONFIGURE_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/src/treectrl/configure
     100    --prefix=${CMAKE_CURRENT_BINARY_DIR}
     101    --exec-prefix=${CMAKE_CURRENT_BINARY_DIR}
     102    --with-tcl=${TCL_LIB_DIR}
     103    --with-tk=${TK_LIB_DIR}
     104    )
     105  install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/lib/treectrl${TREECTRL_VERSION} COMPONENT RUNTIME DESTINATION lib )
     106endif(BUILD_TREECTRL)
Note: See TracChangeset for help on using the changeset viewer.