build/CMakeLists.txt
Danny Robson 4dd2a40e75 CACHEDIR.TAG: use CMake to configure this file
This ensures that IDEs will generate the file during configuration,
rather than relying on the use to run `init.py` (which confuses CLion
for some reason).
2019-11-25 07:46:35 +11:00

6 lines
124 B
CMake

configure_file (
"${CMAKE_CURRENT_SOURCE_DIR}/build/CACHEDIR.TAG.in"
"${CMAKE_BINARY_DIR}/CACHEDIR.TAG"
@ONLY
)