Fixed includedir for the .pc.cmake file
This commit is contained in:
parent
4c3926a5c7
commit
50474b6b9f
@ -209,7 +209,9 @@ else()
|
|||||||
set(_library_dir lib)
|
set(_library_dir lib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(INCLUDE_INSTALL_DIR include/yaml-cpp)
|
set(INCLUDE_INSTALL_ROOT_DIR include)
|
||||||
|
|
||||||
|
set(INCLUDE_INSTALL_DIR ${INCLUDE_INSTALL_ROOT_DIR}/yaml-cpp)
|
||||||
set(LIB_INSTALL_DIR "${_library_dir}${LIB_SUFFIX}")
|
set(LIB_INSTALL_DIR "${_library_dir}${LIB_SUFFIX}")
|
||||||
|
|
||||||
set(_INSTALL_DESTINATIONS
|
set(_INSTALL_DESTINATIONS
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
prefix=@CMAKE_INSTALL_PREFIX@
|
prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
exec_prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
libdir=${prefix}/@LIB_INSTALL_DIR@
|
libdir=${prefix}/@LIB_INSTALL_DIR@
|
||||||
includedir=${prefix}/@INCLUDE_INSTALL_DIR@
|
includedir=${prefix}/@INCLUDE_INSTALL_ROOT_DIR@
|
||||||
|
|
||||||
Name: Yaml-cpp
|
Name: Yaml-cpp
|
||||||
Description: A YAML parser and emitter for C++
|
Description: A YAML parser and emitter for C++
|
||||||
|
Loading…
Reference in New Issue
Block a user