summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMike Weiblen <[email protected]>2018-06-26 15:04:33 -0600
committerMike Weiblen <[email protected]>2018-06-27 11:25:45 -0600
commit0642c1b85957dec68104f4f6f9c57e9a7edd3541 (patch)
tree75532869a41b06eedb1c77e80206a20f7c45450f /CMakeLists.txt
parent6cb0f5b3cc8d8c05df4a77936f1342f42a4e8d72 (diff)
downloadVulkan-Headers-0642c1b85957dec68104f4f6f9c57e9a7edd3541.tar.gz
Vulkan-Headers-0642c1b85957dec68104f4f6f9c57e9a7edd3541.zip
build: Beautify cmake files
Add the formatter config file (.cmake-format.py) and run: cmake-format -i CMakeLists.txt
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9f1cbdc..fb95d64 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,10 +30,8 @@ install(DIRECTORY "${CMAKE_SOURCE_DIR}/registry" DESTINATION ${CMAKE_INSTALL_DAT
# uninstall target
if(NOT TARGET uninstall)
- configure_file(
- "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
- "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
- IMMEDIATE @ONLY)
- add_custom_target(uninstall
- COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ IMMEDIATE
+ @ONLY)
+ add_custom_target(uninstall COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
endif()