Skip to content

Commit

Permalink
Add missing f
Browse files Browse the repository at this point in the history
  • Loading branch information
ptheywood committed Aug 4, 2021
1 parent cf3e214 commit d0647eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/embedded_paths.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function(TargetStripBuildDirectoryInformation)
OR
(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "3.8")
)
target_compile_options(${STRIP_BUILD_DIR_INFO_TARGET} PRIVATE "$<$<COMPILE_LANGUAGE:C,CXX>:-debug-prefix-map=${CMAKE_SOURCE_DIR}=.>")
target_compile_options(${STRIP_BUILD_DIR_INFO_TARGET} PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcompiler -debug-prefix-map=${CMAKE_SOURCE_DIR}=.>")
target_compile_options(${STRIP_BUILD_DIR_INFO_TARGET} PRIVATE "$<$<COMPILE_LANGUAGE:C,CXX>:-fdebug-prefix-map=${CMAKE_SOURCE_DIR}=.>")
target_compile_options(${STRIP_BUILD_DIR_INFO_TARGET} PRIVATE "$<$<COMPILE_LANGUAGE:CUDA>:SHELL:-Xcompiler -fdebug-prefix-map=${CMAKE_SOURCE_DIR}=.>")
endif()
endfunction()

0 comments on commit d0647eb

Please sign in to comment.