From 0df51ecbeec435af8cfa76545f01585b7e823b56 Mon Sep 17 00:00:00 2001 From: Jason Marechal Date: Wed, 11 Jan 2023 09:29:21 +0100 Subject: [PATCH] test --- src/solver/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/solver/CMakeLists.txt b/src/solver/CMakeLists.txt index 50ea44c3da..733e8def61 100644 --- a/src/solver/CMakeLists.txt +++ b/src/solver/CMakeLists.txt @@ -125,7 +125,6 @@ set(public_headers #set_target_properties(solver-lib PROPERTIES PUBLIC_HEADER "${public_headers}") install(TARGETS solver-lib ${ANTARES_SOLVER_LIBS} result_writer infeasible_problem_analysis libantares-solver-variable-info - minizip EXPORT "solver-libTargets" # # these get default values from GNUInstallDirs, no need to set them # #RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} # bin @@ -139,7 +138,8 @@ install(TARGETS solver-lib ${ANTARES_SOLVER_LIBS} foreach(header ${public_headers}) message(CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR}) message(CMAKE_CURRENT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) - FILE(RELATIVE_PATH header_file_path ${CMAKE_CURRENT_SOURCE_DIR}/solver ${CMAKE_CURRENT_SOURCE_DIR}/${header}) + message(file ${CMAKE_CURRENT_SOURCE_DIR}/${header}) + FILE(RELATIVE_PATH header_file_path ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/${header}) message(header_file_path ${header_file_path}) get_filename_component(header_directory_path "${header_file_path}" DIRECTORY) message("header_directory_path: " ${header_directory_path})