Project

General

Profile

art.patch

Adam Lyon, 10/17/2014 12:51 AM

View differences:

Modules/ArtMake.cmake
162 162
      set (art_make_lib_name ${AML_LIBRARY_NAME})
163 163
    else()
164 164
      # calculate base name
165
      set( mrb_source_dir $ENV{MRB_SOURCE} )
166
      if( mrb_source_dir )
165
      if ( (DEFINED ENV{MRB_PROJECT}) AND ( NOT $ENV{MRB_PROJECT} MATCHES "gm2" ) ) 
167 166
         STRING( REGEX REPLACE "^${CMAKE_SOURCE_DIR}/${product}/(.*)" "\\1" CURRENT_SUBDIR "${CMAKE_CURRENT_SOURCE_DIR}" )
168 167
         STRING( REGEX REPLACE "/" "_" art_make_lib_name "${CURRENT_SUBDIR}" )
169 168
      else()