mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-20 03:18:07 -05:00
Fix quoting of PHP flags in cmake; see #1174
This commit is contained in:
@@ -827,8 +827,8 @@ if (COOLPROP_PHP_MODULE)
|
||||
OUTPUT_VARIABLE php_config_includes
|
||||
RESULT_VARIABLE php_config_failed
|
||||
)
|
||||
string(STRIP ${php_config_includes} php_config_includes)
|
||||
string(REPLACE "-I" "" PHP_INCLUDES ${php_config_includes})
|
||||
string(STRIP "${php_config_includes}" php_config_includes)
|
||||
string(REPLACE "-I" "" PHP_INCLUDES "${php_config_includes}")
|
||||
SEPARATE_ARGUMENTS(PHP_INCLUDES)
|
||||
|
||||
message(STATUS "php includes=${PHP_INCLUDES}")
|
||||
|
||||
Reference in New Issue
Block a user