Skip to content

Commit

Permalink
Fixing recent patch to config definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed May 25, 2017
1 parent 679e4af commit 744467f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/HPX_AddDefinitions.cmake
Expand Up @@ -93,6 +93,9 @@ function(write_config_defines_file)
string(FIND ${def} " " _pos)
if(NOT ${_pos} EQUAL -1)
string(SUBSTRING ${def} 0 ${_pos} defname)
else()
set(defname ${def})
string(STRIP ${defname} defname)
endif()
set(hpx_config_defines
"${hpx_config_defines}#if !defined(${defname})\n#define ${def}\n#endif\n")#"
Expand Down

0 comments on commit 744467f

Please sign in to comment.