fc37017a7e
By default, zend source compatability remains disabled, however you can now explicitly request compilation of the infrastructure and the extensions it supports via: cmake -DENABLE_ZEND_COMPAT=ON . Note that CMake caches -D defines between runs, so a later call without ENABLE_ZEND_COMPAT will still retain the option enabled. Either explicitly set it to OFF, or delete CMakeCache.txt if switching between the two.
14 linhas
425 B
CMake
14 linhas
425 B
CMake
if (LibYaml_LIBRARIES AND LibYaml_INCLUDE_DIRS)
|
|
set (LibYaml_FIND_QUIETLY TRUE)
|
|
endif (LibYaml_LIBRARIES AND LibYaml_INCLUDE_DIRS)
|
|
|
|
find_path (LibYaml_INCLUDE_DIRS NAMES yaml.h)
|
|
find_library (LibYaml_LIBRARIES NAMES yaml)
|
|
|
|
include (FindPackageHandleStandardArgs)
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibYaml DEFAULT_MSG
|
|
LibYaml_LIBRARIES
|
|
LibYaml_INCLUDE_DIRS)
|
|
|
|
mark_as_advanced(LibYaml_INCLUDE_DIRS LibYaml_LIBRARIES)
|