File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -792,9 +792,9 @@ foreach (testFile ${TEST_SRC_SINGLE_TARGET})
792792  target_link_libraries (${TName}  PUBLIC  ${fmsLibraryName} 
793793                                 PRIVATE  testLibs)
794794  if (32BIT)
795-     target_compile_definitions (${TName}  PRIVATE  "${r4_defs} " )
795+     target_compile_definitions (${TName}  PRIVATE  "${r4_defs}   ${fms_defs} " )
796796  else ()
797-     target_compile_definitions (${TName}  PRIVATE  "${r8_defs} " )
797+     target_compile_definitions (${TName}  PRIVATE  "${r8_defs}   ${fms_defs}   " )
798798    set_target_properties (${TName}  PROPERTIES COMPILE_FLAGS  ${r8_flags} )
799799  endif ()
800800
@@ -819,12 +819,12 @@ foreach (testFile ${TEST_SRC_MULTI_TARGET})
819819  get_filename_component  (TName ${testFile}  NAME_WE )
820820
821821  add_executable (${TName} _r8 ${testFile} )
822-   target_compile_definitions (${TName} _r8 PRIVATE  "${r8_defs} " )
822+   target_compile_definitions (${TName} _r8 PRIVATE  "${r8_defs}   ${fms_defs} " )
823823  set_target_properties (${TName} _r8 PROPERTIES COMPILE_FLAGS  ${r8_flags} )
824824  target_link_libraries (${TName} _r8 PUBLIC  ${fmsLibraryName} 
825825                                    PRIVATE  testLibs)
826826  add_executable (${TName} _r4 ${testFile} )
827-   target_compile_definitions (${TName} _r4 PRIVATE  "${r4_defs} " )
827+   target_compile_definitions (${TName} _r4 PRIVATE  "${r4_defs}   ${fms_defs} " )
828828  # seems counterintuitive but r4 tests use r8 default 
829829  # they specify kind values explicitly with the preprocessor where needed (TEST_FMS_KIND_) 
830830  set_target_properties (${TName} _r4 PROPERTIES COMPILE_FLAGS  ${r8_flags} )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments