include(imstkFind)
#-----------------------------------------------------------------------------
# Find All Headers and Libraries for g3log
#-----------------------------------------------------------------------------

if(WIN32)
  set(postfix "d")
else()
  set(postfix " ") # Linux is ignoring the postfix request :(
endif()

imstk_find_header(g3log g3log/g3log.hpp)
imstk_find_libary(g3log g3logger ${postfix})
imstk_find_package(g3log g3log::g3log)

if(WIN32)
  target_link_libraries(g3log::g3log INTERFACE general dbghelp)
endif()

#message(STATUS "g3log include : ${g3log_INCLUDE_DIRS}")
#message(STATUS "g3log libraries : ${g3log_LIBRARIES}")
