diff --git a/cmake_modules/GenPkgConfig.cmake b/cmake_modules/GenPkgConfig.cmake index 99b06b7cd5a554d6edf4bc5bd53db40579c14889..b4d2429e406344377e4178baf9b6357b08ee8fb3 100644 --- a/cmake_modules/GenPkgConfig.cmake +++ b/cmake_modules/GenPkgConfig.cmake @@ -110,9 +110,9 @@ MACRO(GENERATE_PKGCONFIG_FILE) if(CHAMELEON_SCHED_STARPU) list(APPEND CHAMELEON_PKGCONFIG_LIBS -lchameleon_starpu) if ( CHAMELEON_USE_MPI ) - list(APPEND CHAMELEON_PKGCONFIG_REQUIRED_PRIVATE libstarpumpi) + list(APPEND CHAMELEON_PKGCONFIG_REQUIRED_PRIVATE starpumpi-${STARPU_VERSION}) else() - list(APPEND CHAMELEON_PKGCONFIG_REQUIRED_PRIVATE libstarpu) + list(APPEND CHAMELEON_PKGCONFIG_REQUIRED_PRIVATE starpu-${STARPU_VERSION}) endif() elseif(CHAMELEON_SCHED_QUARK) list(APPEND CHAMELEON_PKGCONFIG_LIBS -lchameleon_quark) @@ -131,7 +131,7 @@ MACRO(GENERATE_PKGCONFIG_FILE) list(APPEND CHAMELEON_PKGCONFIG_REQUIRED "coreblas") if(CHAMELEON_USE_CUDA) - list(APPEND CUDABLAS_PKGCONFIG_LIBS_PRIVATE ${CUDA_LIBRARIES}) + list(APPEND CUDABLAS_PKGCONFIG_LIBS_PRIVATE ${EXTRA_LIBRARIES_CUDA}) list(APPEND CHAMELEON_PKGCONFIG_REQUIRED "cudablas") endif()