Skip to content

Commit

Permalink
Fix API docs for headers more than one folder level from the top
Browse files Browse the repository at this point in the history
  • Loading branch information
vkrause committed Apr 4, 2017
1 parent d4b3eed commit 05f687d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/GammaRayMacrosInternal.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ macro(gammaray_target_relocatable_interfaces _paths)
endmacro()

function(gammaray_install_headers)
get_filename_component(_dir ${CMAKE_CURRENT_SOURCE_DIR} NAME)
file(RELATIVE_PATH _dir ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
cmake_parse_arguments(HEADER_INSTALL "" "DESTINATION" "" ${ARGN})
if(NOT HEADER_INSTALL_DESTINATION)
set(HEADER_INSTALL_DESTINATION ${_dir})
Expand Down

0 comments on commit 05f687d

Please sign in to comment.