|
|
@@ -194,12 +194,12 @@ function(CONFIGURE_PACKAGE_CONFIG_FILE _inputFile _outputFile)
|
|
|
set(PACKAGE_${var} "${CMAKE_INSTALL_PREFIX}/${${var}}")
|
|
|
endif()
|
|
|
else()
|
|
|
- if(IS_ABSOLUTE "${${var}}")
|
|
|
- string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${PACKAGE_PREFIX_DIR}"
|
|
|
- PACKAGE_${var} "${${var}}")
|
|
|
- else()
|
|
|
- set(PACKAGE_${var} "\${PACKAGE_PREFIX_DIR}/${${var}}")
|
|
|
- endif()
|
|
|
+ if(IS_ABSOLUTE "${${var}}")
|
|
|
+ string(REPLACE "${CMAKE_INSTALL_PREFIX}" "\${PACKAGE_PREFIX_DIR}"
|
|
|
+ PACKAGE_${var} "${${var}}")
|
|
|
+ else()
|
|
|
+ set(PACKAGE_${var} "\${PACKAGE_PREFIX_DIR}/${${var}}")
|
|
|
+ endif()
|
|
|
endif()
|
|
|
endif()
|
|
|
endforeach()
|