mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-31 21:37:13 +01:00
cmake: populate pkgconfig file with prefix
Previously the prefix and related paths were not set.
This commit is contained in:
parent
c1faae295c
commit
ed0317e6a5
@ -157,6 +157,11 @@ IF(CMAKE_CROSSCOMPILING)
|
||||
UNSET(RTLSDR_PC_LIBS)
|
||||
ENDIF(CMAKE_CROSSCOMPILING)
|
||||
|
||||
set(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||
set(exec_prefix \${prefix})
|
||||
set(includedir \${prefix}/include)
|
||||
set(libdir \${exec_prefix}/lib)
|
||||
|
||||
CONFIGURE_FILE(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/librtlsdr.pc.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/librtlsdr.pc
|
||||
|
Loading…
Reference in New Issue
Block a user