Skip to content

Commit

Permalink
Merge branch 'fix-cmake-include' into 'v92-bugfix'
Browse files Browse the repository at this point in the history
Fix cmake include

See merge request integer/scip!3716
  • Loading branch information
discopt committed Mar 1, 2025
2 parents 00ffe4b + bd0dd82 commit 6b4c457
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 18 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ Build system

### Cmake

- allow to set HIGHS_DIR via -D flag as well
- allow to set HIGHS_DIR via -D flag as well
- reenable building and testing of SCFLP example
- fixed that compiler flags for sanitizers were not used for compiling objects of SCIP library
- prioritize local includes in applications and examples to link the intended SCIP version to them

### Makefile

Expand Down
2 changes: 1 addition & 1 deletion applications/Coloring/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(coloring
src/branch_coloring.c
Expand Down
2 changes: 1 addition & 1 deletion applications/CycleClustering/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(cycleclustering
src/main.c
Expand Down
2 changes: 1 addition & 1 deletion applications/MinIISC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(miniisc
src/benders.c
Expand Down
2 changes: 1 addition & 1 deletion applications/Ringpacking/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(ringpacking
src/cmain.c
Expand Down
2 changes: 1 addition & 1 deletion applications/Scheduler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(scheduler
src/main.cpp
Expand Down
2 changes: 1 addition & 1 deletion examples/Binpacking/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(binpacking
src/branch_ryanfoster.c
Expand Down
2 changes: 1 addition & 1 deletion examples/CallableLibrary/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(gastrans
src/gastrans.c)
Expand Down
2 changes: 1 addition & 1 deletion examples/Eventhdlr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(eventhdlr
src/cmain.c
Expand Down
2 changes: 1 addition & 1 deletion examples/GMI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(gmi
src/cmain.c
Expand Down
2 changes: 1 addition & 1 deletion examples/LOP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(lop
src/cmain.c
Expand Down
2 changes: 1 addition & 1 deletion examples/MIPSolver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(scipmip
src/cppmain.cpp)
Expand Down
2 changes: 1 addition & 1 deletion examples/Queens/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(queens
src/queens.cpp
Expand Down
2 changes: 1 addition & 1 deletion examples/Relaxator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(relaxator
src/cmain.c
Expand Down
2 changes: 1 addition & 1 deletion examples/SCFLP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(scflp
src/cmain.c
Expand Down
2 changes: 1 addition & 1 deletion examples/Sudoku/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(sudoku
src/sudoku_main.cpp
Expand Down
2 changes: 1 addition & 1 deletion examples/TSP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(sciptsp
src/ConshdlrSubtour.cpp
Expand Down
2 changes: 1 addition & 1 deletion examples/VRP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ else()
find_package(SCIP REQUIRED)
endif()

include_directories(${SCIP_INCLUDE_DIRS})
include_directories(BEFORE PUBLIC ${SCIP_INCLUDE_DIRS})

add_executable(vrp
src/main_vrp.cpp
Expand Down

0 comments on commit 6b4c457

Please sign in to comment.