CMake/Tests/RunCMake/try_compile/NoOutputVariable2.cmake

3 lines
118 B
CMake

try_compile(RESULT ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src.c
OUTPUT_VARIABLE CMAKE_FLAGS -DA=B)