source: tol/rtol/cmake/modules/MSysMacros.cmake @ 6d12912

1941-docker-image-to-testdevel
Last change on this file since 6d12912 was cdd8fca, checked in by Pedro Gea <pgea@…>, 11 years ago

Refs #1898, #1842
Se crea un proyecto rtol para compilar las librerías de enlace de TOL con R.

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

  • Property mode set to 100644
File size: 344 bytes
Line 
1if( MSYS )
2  get_filename_component( msys_usr $ENV{WD} DIRECTORY )
3  set( MSYS_USR_PATH ${msys_usr} CACHE INTERNAL "" )
4endif( MSYS )
5
6macro( msys_convert_path var path )
7  if( MSYS )
8    string( REGEX REPLACE ^/usr ${MSYS_USR_PATH} ${var} ${path} )
9  else( MSYS )
10    set( ${var} ${path} PARENT_SCOPE )
11  endif( MSYS )
12endmacro( )
Note: See TracBrowser for help on using the repository browser.