Skip to content

Commit be28091

Browse files
authored
Minor robustness updates CMake (#15)
* Minor robustness updates CMake * Bumping version
1 parent 7a29f48 commit be28091

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ include(GNUInstallDirs)
4848

4949
install(
5050
FILES
51-
"include/cppcolormap.h"
51+
"${CMAKE_CURRENT_SOURCE_DIR}/include/cppcolormap.h"
5252
DESTINATION
5353
include)
5454

@@ -80,13 +80,13 @@ set(CMAKE_SIZEOF_VOID_P ${_CPPCOLORMAP})
8080

8181
install(
8282
FILES
83-
cppcolormapConfig.cmake
83+
"${CMAKE_CURRENT_SOURCE_DIR}/cppcolormapConfig.cmake"
8484
"${CMAKE_CURRENT_BINARY_DIR}/cppcolormapConfigVersion.cmake"
8585
DESTINATION
8686
"${CMAKE_INSTALL_LIBDIR}/cmake/cppcolormap")
8787

8888
configure_file(
89-
"cppcolormap.pc.in"
89+
"${CMAKE_CURRENT_SOURCE_DIR}/cppcolormap.pc.in"
9090
"${CMAKE_CURRENT_BINARY_DIR}/cppcolormap.pc"
9191
@ONLY)
9292

include/cppcolormap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#define CPPCOLORMAP_VERSION_MAJOR 1
1111
#define CPPCOLORMAP_VERSION_MINOR 1
12-
#define CPPCOLORMAP_VERSION_PATCH 0
12+
#define CPPCOLORMAP_VERSION_PATCH 1
1313

1414
#define CPPCOLORMAP_VERSION_AT_LEAST(x,y,z) \
1515
(CPPCOLORMAP_VERSION_MAJOR>x || (CPPCOLORMAP_VERSION_MAJOR>=x && \

0 commit comments

Comments
 (0)