Skip to content

Commit

Permalink
Disable non-module headers for libxrpl
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnfreeman committed Sep 24, 2024
1 parent cbdd49f commit 947440a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions cmake/RippledCore.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,14 @@ target_link_modules(xrpl PUBLIC
server
)

target_include_directories(xrpl.libxrpl
# No private headers for now.
# PRIVATE
# $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
# All headers in libxrpl are in modules.
# Uncomment this stanza if you have not yet moved new headers into a module.
# target_include_directories(xrpl.libxrpl
# PRIVATE
# $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
# PUBLIC
# $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
# $<INSTALL_INTERFACE:include>)

target_compile_definitions(xrpl.libxrpl
PUBLIC
Expand Down

0 comments on commit 947440a

Please sign in to comment.