mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-17 06:37:43 -05:00
* Adding PATCHES keyword. * Formatting fix. * Move cpm_add_patches() outside if/else scopes. * cmake-format: add PATCHES to CPMAddPackage. * Integration tests for PATCHES command. * Use get_filename_component() in place of cmake_path() for use with all cmake versions 3.14 and above. * Added an example and improved comment for cpm_add_patches.
13 lines
246 B
Diff
13 lines
246 B
Diff
diff --git a/code/adder/adder.cpp b/code/adder/adder.cpp
|
|
index fc6e767..44b1197 100644
|
|
--- a/code/adder/adder.cpp
|
|
+++ b/code/adder/adder.cpp
|
|
@@ -1,6 +1,6 @@
|
|
#include "adder.hpp"
|
|
|
|
-namespace adder
|
|
+namespace patched
|
|
{
|
|
int add(int a, int b)
|
|
{
|