ecm_generate_headers(): don't run tests in script mode
The function uses get_source_file_property() function, which is not available in CMake scripting mode, so instead this reworks the test to execute as a regular CMake configuration program.
Please register or sign in to comment