Commit 42680088 authored by Francois Keith's avatar Francois Keith
Browse files

Correct a typo preventing the good use of pkg-config

Especially, the folders for hrp2 could not be found
parent b9c0f280
......@@ -86,7 +86,7 @@ PKG_CHECK_MODULES(_hrp2_10_small ${_hrp2_10_small_package})
IF(NOT ${_hrp2_10_small_FOUND})
MESSAGE(STATUS "hrp2_10_small not found.")
ELSE(NOT ${_hrp2_10_small_FOUND})
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS hrp2_10-small --variable=datadir
EXEC_PROGRAM(${PKG_CONFIG_EXECUTABLE} ARGS hrp2_10-small --variable=datadir
OUTPUT_VARIABLE HRP2_10-SMALL_DIRECTORY )
MESSAGE(STATUS "HRP2_10-SMALL_DIRECTORY: ${HRP2_10-SMALL_DIRECTORY}")
ENDIF(NOT ${_hrp2_10_small_FOUND})
......@@ -97,7 +97,7 @@ PKG_CHECK_MODULES(_hrp2_10_small_old ${_hrp2_10_small_old_package})
IF(NOT ${_hrp2_10_small_old_FOUND})
MESSAGE(STATUS "hrp2_10_small_old not found.")
ELSE(NOT ${_hrp2_10_small_old_FOUND})
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS hrp2_10-small-old --variable=datadir
EXEC_PROGRAM(${PKG_CONFIG_EXECUTABLE} ARGS hrp2_10-small-old --variable=datadir
OUTPUT_VARIABLE HRP2_10-SMALL-OLD_DIRECTORY )
MESSAGE(STATUS "HRP2_10-SMALL-OLD_DIRECTORY: ${HRP2_10-SMALL-OLD_DIRECTORY}")
ENDIF(NOT ${_hrp2_10_small_old_FOUND})
......@@ -109,7 +109,7 @@ PKG_CHECK_MODULES(_hrp2_10 ${_hrp2_10_package})
IF(NOT ${_hrp2_10_FOUND})
MESSAGE(STATUS "hrp2_10 not found.")
ELSE(NOT ${_hrp2_10_FOUND})
EXEC_PROGRAM(${PKGCONFIG_EXECUTABLE} ARGS hrp2_10 --variable=datadir
EXEC_PROGRAM(${PKG_CONFIG_EXECUTABLE} ARGS hrp2_10 --variable=datadir
OUTPUT_VARIABLE HRP2_10_DIRECTORY )
MESSAGE(STATUS "HRP2_10_DIRECTORY: ${HRP2_10_DIRECTORY}")
ENDIF(NOT ${_hrp2_10_FOUND})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment