Skip to content

Commit 3098d49

Browse files
committed
cmake-format all files again
1 parent 4231832 commit 3098d49

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ set(PACKAGE_PROJECT_ROOT_PATH
55
CACHE INTERNAL "The path to the PackageProject directory"
66
)
77

8-
# if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.31.0")
9-
# cmake_policy(SET CMP0177 NEW)
10-
# endif()
8+
# if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.31.0") cmake_policy(SET CMP0177 NEW) endif()
119

1210
function(packageProject)
1311
include(CMakePackageConfigHelpers)

test/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int main() {
3333
result &= TRANSITIVE_DEPENDENCY_VERSION_PATCH == 9;
3434
result &= TRANSITIVE_DEPENDENCY_VERSION_TWEAK == 21948124;
3535
result &= (5 == add(2, 3));
36-
result &= HEADER_ONLY_VERSION == std::string("1.0");
36+
result &= HEADER_ONLY_VERSION == std::string("1.0.0.0");
3737
result &= HEADER_ONLY_VERSION_MAJOR == 1;
3838
result &= HEADER_ONLY_VERSION_MINOR == 0;
3939
result &= HEADER_ONLY_VERSION_PATCH == 0;

test/transitive_dependency/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ packageProject(
5353
VERSION ${PROJECT_VERSION}
5454
NAMESPACE ${PROJECT_NAME}
5555
BINARY_DIR ${PROJECT_BINARY_DIR}
56-
INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include
56+
INCLUDE_DIR ${PROJECT_SOURCE_DIR}/include
5757
INCLUDE_DESTINATION include
5858
VERSION_HEADER "transitive_dependency/version.h"
5959
EXPORT_HEADER "transitive_dependency/export.h"

0 commit comments

Comments
 (0)