Skip to content

Commit

Permalink
Get antares-solver target name
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Sep 23, 2024
1 parent d3cef50 commit 83ad41d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,12 @@ if (${BUILD_antares_solver})
endif ()
endif ()
find_package(Antares REQUIRED)
get_target_property(ANTARES_SOLVER_APP antares-solver NAME)

find_package(sirius_solver REQUIRED CONFIG)
get_property(sirius_lib TARGET sirius_solver PROPERTY LOCATION)
configure_file(${sirius_lib} ${CMAKE_CURRENT_BINARY_DIR}/sirius_solver COPYONLY)
get_target_property(sirius_lib sirius_solver LOCATION)
get_filename_component(sirius_lib_name ${sirius_lib} NAME)
configure_file(${sirius_lib} ${CMAKE_CURRENT_BINARY_DIR}/${sirius_lib_name} COPYONLY)

find_package(minizip-ng REQUIRED)
# ---------------------------------------------------------------------------
Expand Down

0 comments on commit 83ad41d

Please sign in to comment.