Skip to content

Commit

Permalink
#2175: add more debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly committed Sep 20, 2024
1 parent fb8db7e commit 2adb054
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions cmake/link_vt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,19 @@ function(link_target_with_vt)
if (${ARG_DEBUG_LINK})
message(STATUS "link_target_with_vt: yamlcpp=${ARG_LINK_YAMLCPP}")
endif()
message("targetting link library ${YAMLCPP_LIBRARY}")
message("arg_target: ${ARG_TARGET}")
message("arg_build_type: ${ARG_BUILD_TYPE}")
message("yamlcpp lib: ${YAMLCPP_LIBRARY}")
target_link_libraries(
${ARG_TARGET} PUBLIC ${ARG_BUILD_TYPE} ${YAMLCPP_LIBRARY}
)
target_include_directories(${ARG_TARGET} PUBLIC
$<BUILD_INTERFACE:${PROJECT_BASE_DIR}/lib/yaml-cpp>
$<INSTALL_INTERFACE:include/yaml-cpp>
)
message("done")
endif()

# message(STATUS "yamlcpp_arg_link=${ARG_LINK_YAMLCPP}")
message(STATUS "YAMLCPP_LIBRARY=${YAMLCPP_LIBRARY}")

if (${vt_mimalloc_enabled})
if (${ARG_DEBUG_LINK})
message(STATUS "link_target_with_vt: mimalloc=${vt_mimalloc_enabled}")
Expand Down

0 comments on commit 2adb054

Please sign in to comment.