Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed May 20, 2024
1 parent 68e841c commit b2ce0cc
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ soci_public_dependency(

target_link_libraries(soci_core
PUBLIC
$<BUILD_INTERFACE:soci_compiler_interface>
soci_compiler_interface
PRIVATE
Threads::Threads
)
Expand All @@ -155,24 +155,3 @@ if (DEFINED ABI_VERSION)
endif()


install(
TARGETS soci_core
EXPORT SOCICoreTargets
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}/soci"
COMPONENT soci_runtime
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}/soci"
COMPONENT soci_runtime
NAMELINK_COMPONENT soci_development
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}/soci"
COMPONENT soci_development
FILE_SET headers DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/soci"
COMPONENT soci_development
)
# Generate and install a targets file
install(
EXPORT SOCICoreTargets
DESTINATION "${SOCI_INSTALL_CMAKEDIR}"
FILE SOCICoreTargets.cmake
NAMESPACE SOCI::
COMPONENT soci_development
)

0 comments on commit b2ce0cc

Please sign in to comment.