CMAKE_CACHE_DEFAULT_ARGS.cmake 205 Bytes
Newer Older
1
2
include(ExternalProject)

3
ExternalProject_Add(FOO TMP_DIR "${CMAKE_CURRENT_BINARY_DIR}/tmp"
4
5
                        DOWNLOAD_COMMAND ""
                        CMAKE_CACHE_DEFAULT_ARGS "-DFOO:STRING=BAR")