Skip to content

Commit 682a590

Browse files
committed
Set PHP_CONFIG_FILE_PATH to CMAKE_INSTALL_SYSCONFDIR
This is still annoyingly buggy and not resolved properly yet but this can be set to either absolute or relative path now already.
1 parent 0df8e61 commit 682a590

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/cmake/Configuration.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,9 @@ if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
110110
)
111111
mark_as_advanced(PHP_CONFIG_FILE_PATH)
112112
if(NOT PHP_CONFIG_FILE_PATH)
113-
# TODO: Fix this for the 'cmake --install ... --prefix' case.
114113
set_property(
115114
CACHE PHP_CONFIG_FILE_PATH
116-
PROPERTY VALUE "${CMAKE_INSTALL_FULL_SYSCONFDIR}"
115+
PROPERTY VALUE "${CMAKE_INSTALL_SYSCONFDIR}"
117116
)
118117
endif()
119118
endif()

0 commit comments

Comments
 (0)