Skip to content

Commit

Permalink
Debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed May 2, 2024
1 parent 7953d2b commit b4ce0d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ before_build:
}
else
{
Tree $env:BOOST_ROOT
$env:SQLITE3_LIBRARY = $env:SQLITE_ROOT + '/lib/sqlite3-static.lib'
$env:BUILD_TOOL_OPTIONS = '/m'
}
Expand Down
9 changes: 9 additions & 0 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,15 @@ soci_public_dependency(
TARGET SOCI::Core
)

if (TARGET Boost::date_time)
get_target_property(DATETIME_LIBS Boost::date_time IMPORTED_LOCATION)
message(STATUS "Boost::date_time libs: ${DATETIME_LIBS}")
get_target_property(DATETIME_LIBS Boost::date_time IMPORTED_LOCATION_RELEASE)
message(STATUS "Boost::date_time libs: ${DATETIME_LIBS}")
get_target_property(DATETIME_LIBS Boost::date_time IMPORTED_LOCATION_DEBUG)
message(STATUS "Boost::date_time libs: ${DATETIME_LIBS}")
endif()

target_link_libraries(soci_core
PUBLIC
$<BUILD_INTERFACE:soci_compiler_interface>
Expand Down

0 comments on commit b4ce0d0

Please sign in to comment.