X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/258241200bb351d910f9291821179be306d5e3aa..deff9ab3d0c1c5d17f215f440b88dde9cf983418:/tools/cmake/Distrib.cmake diff --git a/tools/cmake/Distrib.cmake b/tools/cmake/Distrib.cmake index d85418fe27..193888351c 100644 --- a/tools/cmake/Distrib.cmake +++ b/tools/cmake/Distrib.cmake @@ -64,6 +64,11 @@ if(enable_java) RENAME simgrid.jar) endif() +# pkg-config files +configure_file("${CMAKE_HOME_DIRECTORY}/tools/pkg-config/simgrid.pc.in" + "${PROJECT_BINARY_DIR}/simgrid.pc" @ONLY) +install(FILES "${PROJECT_BINARY_DIR}/simgrid.pc" DESTINATION lib/pkgconfig/) + # include files foreach(file ${headers_to_install} ${generated_headers_to_install}) get_filename_component(location ${file} PATH)