X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=nlopt.pc.in;h=8d46f071fd3a9d07cfa7f2b120fa763809dc80b4;hb=8d04c76ad2608c20474beba445c8d7ddcb0e2f4e;hp=a5cecf872dda0abd6a2369859eee90d22ef06426;hpb=b668499599eaf1b303d65907fd013b124c63f9c6;p=nlopt.git diff --git a/nlopt.pc.in b/nlopt.pc.in index a5cecf8..8d46f07 100644 --- a/nlopt.pc.in +++ b/nlopt.pc.in @@ -1,10 +1,11 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include Name: NLopt Description: nonlinear optimization libary -Version: @VERSION@ -Libs: -L${libdir} -lnlopt -lm +Version: @NLOPT_VERSION_STRING@ +Libs: -L${libdir} -lnlopt +Libs.private: -lm Cflags: -I${includedir}