Title: [258358] trunk
- Revision
- 258358
- Author
- [email protected]
- Date
- 2020-03-12 14:33:42 -0700 (Thu, 12 Mar 2020)
Log Message
[CMake] Avoid calling FPHSA multiple time in FindPerlModules.cmake
https://bugs.webkit.org/show_bug.cgi?id=208948
Reviewed by Michael Catanzaro.
* Source/cmake/FindPerlModules.cmake:
Modified Paths
Diff
Modified: trunk/ChangeLog (258357 => 258358)
--- trunk/ChangeLog 2020-03-12 21:22:49 UTC (rev 258357)
+++ trunk/ChangeLog 2020-03-12 21:33:42 UTC (rev 258358)
@@ -1,3 +1,12 @@
+2020-03-12 Konstantin Tokarev <[email protected]>
+
+ [CMake] Avoid calling FPHSA multiple time in FindPerlModules.cmake
+ https://bugs.webkit.org/show_bug.cgi?id=208948
+
+ Reviewed by Michael Catanzaro.
+
+ * Source/cmake/FindPerlModules.cmake:
+
2020-03-09 Don Olmstead <[email protected]>
Add script to search for feature defines
Modified: trunk/Source/cmake/FindPerlModules.cmake (258357 => 258358)
--- trunk/Source/cmake/FindPerlModules.cmake 2020-03-12 21:22:49 UTC (rev 258357)
+++ trunk/Source/cmake/FindPerlModules.cmake 2020-03-12 21:33:42 UTC (rev 258358)
@@ -58,19 +58,12 @@
OUTPUT_QUIET
ERROR_QUIET
)
- string(REPLACE "::" "_" _comp_sanitised "${_comp}")
if (_result EQUAL 0)
- set(PerlModules_${_comp_sanitised}_FOUND TRUE)
+ set(PerlModules_${_comp}_FOUND TRUE)
else ()
- set(PerlModules_${_comp_sanitised}_FOUND FALSE)
+ set(PerlModules_${_comp}_FOUND FALSE)
set(PerlModules_all_modules_found FALSE)
endif ()
- find_package_handle_standard_args(PerlModules_${_comp}
- FOUND_VAR
- PerlModules_${_comp}_FOUND
- REQUIRED_VARS
- PerlModules_${_comp_sanitised}_FOUND
- )
endforeach ()
endif ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes