Skip to content

Commit d908cfe

Browse files
committed
cmake-format
1 parent 3e7e6d6 commit d908cfe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ configure_package_config_file(
1414
)
1515
write_basic_package_version_file(
1616
"${CMAKE_CURRENT_BINARY_DIR}/CPMConfigVersion.cmake" COMPATIBILITY SameMajorVersion
17-
ARCH_INDEPENDENT
17+
ARCH_INDEPENDENT
1818
)
1919

2020
# For consumer using FetchContent
@@ -44,15 +44,15 @@ if(NOT ${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})
4444
find_package(CPM CONFIG REQUIRED NO_POLICY_SCOPE)
4545
endif()
4646

47-
if (NOT CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
47+
if(NOT CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
4848
# Without it : Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target
4949
# architecture is known. Please enable at least one language before including GNUInstallDirs.
5050
enable_language(C)
5151
include(GNUInstallDirs)
5252
install(
5353
FILES "${CMAKE_CURRENT_BINARY_DIR}/CPMConfig.cmake"
54-
"${CMAKE_CURRENT_BINARY_DIR}/CPMConfigVersion.cmake"
55-
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/CPM.cmake"
54+
"${CMAKE_CURRENT_BINARY_DIR}/CPMConfigVersion.cmake"
55+
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/CPM.cmake"
5656
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/CPM"
5757
)
5858
endif()

0 commit comments

Comments
 (0)