Skip to content

Commit

Permalink
Merge branch 'local-include-priority' into 'v80-bugfix'
Browse files Browse the repository at this point in the history
Prioritize local includes

See merge request integer/scip!3157
  • Loading branch information
ju-manns committed Sep 13, 2023
2 parents 0d9d6eb + 4605e9d commit 1d0b502
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ else()
setLibProperties(libscip "scip")
endif()

target_include_directories(libscip PUBLIC
target_include_directories(libscip BEFORE PUBLIC
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include>)
Expand Down Expand Up @@ -1091,7 +1091,7 @@ set_target_properties(libscip PROPERTIES
C_VISIBILITY_PRESET hidden
VISIBILITY_INLINES_HIDDEN 1)

target_include_directories(scip PUBLIC
target_include_directories(scip BEFORE PUBLIC
$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTERFACE:include>)
Expand Down

0 comments on commit 1d0b502

Please sign in to comment.