CMAKE_CACHE_ARGS.cmake 197 Bytes
Newer Older
1
2
include(ExternalProject)

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