Skip to content

Commit

Permalink
Revert "build: Public Header Relocatability, main branch (2024.06.18.) (
Browse files Browse the repository at this point in the history
acts-project#3303)"

This reverts commit d89cb7d.
  • Loading branch information
paulgessinger committed Jul 6, 2024
1 parent 862db9b commit 19c84b4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Alignment/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target_include_directories(
ActsAlignment
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
$<INSTALL_INTERFACE:include>)

target_link_libraries(
ActsAlignment
Expand All @@ -19,3 +19,4 @@ install(
install(
DIRECTORY include/ActsAlignment
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

4 changes: 2 additions & 2 deletions Fatras/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ target_include_directories(
ActsFatras
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
$<INSTALL_INTERFACE:include>)
target_link_libraries(
ActsFatras
PUBLIC ActsCore)
Expand All @@ -30,5 +30,5 @@ install(
install(
DIRECTORY include/ActsFatras
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

add_component_if(Geant4 FatrasGeant4 ACTS_BUILD_FATRAS_GEANT4)
2 changes: 1 addition & 1 deletion Fatras/Geant4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ target_include_directories(
ActsFatrasGeant4
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
$<INSTALL_INTERFACE:include>)
target_link_libraries(
ActsFatrasGeant4
PUBLIC ActsCore ActsFatras ${Geant4_LIBRARIES})
Expand Down
4 changes: 2 additions & 2 deletions Plugins/FpeMonitoring/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ target_include_directories(
ActsPluginFpeMonitoring
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
$<INSTALL_INTERFACE:include>)

target_link_libraries(
ActsPluginFpeMonitoring PUBLIC ActsCore)
Expand All @@ -24,7 +24,7 @@ else()

if(dl_LIBRARY)
target_link_libraries(ActsPluginFpeMonitoring PUBLIC ${dl_LIBRARY})

set(_backtrace_setup_complete FALSE)

if(Backtrace_FOUND)
Expand Down
2 changes: 1 addition & 1 deletion Plugins/Json/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ target_include_directories(
ActsPluginJson
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
$<INSTALL_INTERFACE:include>)
target_link_libraries(
ActsPluginJson PUBLIC ActsCore)
acts_target_link_libraries_system(
Expand Down
1 change: 1 addition & 0 deletions thirdparty/FRNN/CMakeLists.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ target_include_directories(frnn
SYSTEM PUBLIC
${TORCH_INCLUDE_DIRS}
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/frnn/csrc>
$<INSTALL_INTERFACE:include>
)

target_link_libraries(frnn PRIVATE ${TORCH_LIBRARIES})
Expand Down

0 comments on commit 19c84b4

Please sign in to comment.