Spaces:
Running
Running
Philippe Normand
commited on
cmake: Fix libdir value in pkgconfig file (#2407)
Browse filesDepending on the OS the lib dir can vary, on Fedora for instance it is
"${prefix}/lib64". Instead of hard-coding the directory name, let CMake fill
this variable for us.
- cmake/whisper.pc.in +1 -1
cmake/whisper.pc.in
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
prefix=@CMAKE_INSTALL_PREFIX@
|
| 2 |
exec_prefix=${prefix}
|
| 3 |
-
libdir
|
| 4 |
includedir=${prefix}/include
|
| 5 |
|
| 6 |
Name: whisper
|
|
|
|
| 1 |
prefix=@CMAKE_INSTALL_PREFIX@
|
| 2 |
exec_prefix=${prefix}
|
| 3 |
+
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
| 4 |
includedir=${prefix}/include
|
| 5 |
|
| 6 |
Name: whisper
|