Skip to content

Commit

Permalink
Removing bogus handling of compile flags for CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Mar 22, 2017
1 parent f63f668 commit aa2a3d0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmake/HPX_AddCompileFlag.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ macro(hpx_add_target_compile_option FLAG)

get_property(HPX_TARGET_COMPILE_OPTIONS_VAR GLOBAL PROPERTY HPX_TARGET_COMPILE_OPTIONS)

if(HPX_WITH_CUDA AND (NOT MSVC))
hpx_add_compile_flag(${FLAG})
endif()
# if(HPX_WITH_CUDA AND (NOT MSVC))
# hpx_add_compile_flag(${FLAG})
# endif()
endmacro()

macro(hpx_remove_target_compile_option FLAG)
Expand Down Expand Up @@ -85,9 +85,9 @@ macro(hpx_add_target_compile_definition FLAG)

get_property(HPX_TARGET_COMPILE_DEFINITIONS_VAR GLOBAL PROPERTY HPX_TARGET_COMPILE_DEFINITIONS)

if(HPX_WITH_CUDA AND (NOT MSVC))
hpx_add_compile_flag(-D${FLAG})
endif()
# if(HPX_WITH_CUDA AND (NOT MSVC))
# hpx_add_compile_flag(-D${FLAG})
# endif()
endmacro()

macro(hpx_remove_target_compile_definition FLAG)
Expand Down

0 comments on commit aa2a3d0

Please sign in to comment.