
Introduce a new signature for the project flavor of try_compile (and
try_run) which removes the `bindir` argument and adds a required PROJECT
tag. This is similar to the SOURCES flavor added by commit aa9220d3
(try_compile: Add keyword-dispatched signature, 2022-09-02).
5 lines
107 B
CMake
5 lines
107 B
CMake
try_compile(RESULT
|
|
PROJECT TestProject
|
|
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/proj
|
|
COPY_FILE result)
|