Merge pull request #1932 from Chiitoo/libdir
cmake: Install 'libobs.pc' under the correct 'libdir'
This commit is contained in:
commit
37072e6c97
@ -454,7 +454,7 @@ if(UNIX AND NOT APPLE)
|
||||
set(PRIVATE_LIBS "${PRIVATE_LIBS} -l${LIB}")
|
||||
endforeach()
|
||||
CONFIGURE_FILE("libobs.pc.in" "libobs.pc" @ONLY)
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libobs.pc" DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libobs.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||
endif()
|
||||
|
||||
set_target_properties(libobs PROPERTIES
|
||||
|
@ -1,7 +1,7 @@
|
||||
prefix=@DEST_DIR@
|
||||
prefix=@CMAKE_INSTALL_PREFIX@
|
||||
exec_prefix=${prefix}
|
||||
libdir=${prefix}/@OBS_LIBRARY_DESTINATION@
|
||||
includedir=${prefix}/include
|
||||
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||
|
||||
Name: libobs
|
||||
Description: OBS Studio Library
|
||||
|
Loading…
x
Reference in New Issue
Block a user