Revision 91f4adb0284b20c23223bc0243aa96ff8bbc1941 authored by Adriaan de Groot on 03 July 2018, 12:16:17 UTC, committed by Brad King on 03 July 2018, 15:23:22 UTC
Code added by commit v3.12.0-rc1~53^2 (FindLua: Search for lua.h using
more conventional paths, 2018-05-20) depends on `CMP0012` NEW behavior.
Set the policy explicitly for the scope of the FindLua module.

Fixes: #18142
1 parent 51e7d41
Raw File
CMakeLists.txt
add_test(NAME FindProtobuf.Test COMMAND
  ${CMAKE_CTEST_COMMAND} -C $<CONFIGURATION>
  --build-and-test
  "${CMake_SOURCE_DIR}/Tests/FindProtobuf/Test"
  "${CMake_BINARY_DIR}/Tests/FindProtobuf/Test"
  ${build_generator_args}
  --build-project TestFindProtobuf
  --build-options ${build_options}
  --test-command ${CMAKE_CTEST_COMMAND} -V -C $<CONFIGURATION>
  )
back to top