[SPIR-V] Improve portability of the code (#123584)
[llvm-project.git] / llvm / utils / LLVMVisualizers / CMakeLists.txt
blobd2c7ac4ffe720e86c10dc4f30d57889fbc23fb31
1 # Do this by hand instead of using add_llvm_utilities(), which
2 # tries to create a corresponding executable, which we don't want.
3 if (LLVM_ADD_NATIVE_VISUALIZERS_TO_SOLUTION)
4   set(LLVM_VISUALIZERS llvm.natvis)
5   add_custom_target(LLVMVisualizers SOURCES ${LLVM_VISUALIZERS})
6   set_target_properties(LLVMVisualizers PROPERTIES FOLDER "LLVM/Misc")
7 endif()