From 3307d9c9a22740fe3cccff214e0124858da3f55b Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Mon, 16 Apr 2018 17:08:21 +0200 Subject: [PATCH] chameleon already owns the dependencies thanks to target_link_libraries, just add a comment to recall direct dependencies --- example/out_of_core/CMakeLists.txt | 3 ++- testing/CMakeLists.txt | 3 ++- timing/CMakeLists.txt | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/example/out_of_core/CMakeLists.txt b/example/out_of_core/CMakeLists.txt index c486cc7f5..ad043109e 100644 --- a/example/out_of_core/CMakeLists.txt +++ b/example/out_of_core/CMakeLists.txt @@ -37,7 +37,8 @@ set(OOC_SOURCES # Define what libraries we have to link with # ------------------------------------------ unset(libs_for_ooc) -list(APPEND libs_for_ooc ${CHAMELEON_LIBRARIES_DEP}) +# ooc executable depends on chameleon and lapacke (already a chameleon's dependency) +list(APPEND libs_for_ooc chameleon) # message(STATUS "libs_for_ooc: ${libs_for_ooc}") foreach(_ooc ${OOC_SOURCES}) diff --git a/testing/CMakeLists.txt b/testing/CMakeLists.txt index f683c2566..16dca1468 100644 --- a/testing/CMakeLists.txt +++ b/testing/CMakeLists.txt @@ -104,7 +104,8 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) # Define what libraries we have to link with # ------------------------------------------ unset(libs_for_tests) -list(APPEND libs_for_tests ${CHAMELEON_LIBRARIES_DEP}) +# testing executables depend on chameleon and cblas, lapacke, mpi (already chameleon's dependencies) +list(APPEND libs_for_tests chameleon) # message(STATUS "libs testings: ${libs_for_tests}") # Create one testing per precision with all files diff --git a/timing/CMakeLists.txt b/timing/CMakeLists.txt index 8ae3a7558..8cd70f721 100644 --- a/timing/CMakeLists.txt +++ b/timing/CMakeLists.txt @@ -170,7 +170,8 @@ if(NOT CHAMELEON_SIMULATION) list(APPEND libs_for_timings chameleon_timing) endif() -list(APPEND libs_for_timings ${CHAMELEON_LIBRARIES_DEP}) +# timing executables depend on chameleon and cblas, lapacke, starpu (optional), mpi (already chameleon's dependencies) +list(APPEND libs_for_timings chameleon) # message(STATUS "libs timings: ${libs_for_timings}") foreach(_timing ${TIMINGS}) -- GitLab