File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,15 @@ target_include_directories(
5050 Interpolate
5151 INTERFACE
5252 $<BUILD_INTERFACE:${libInterpolate_SOURCE_DIR} /src>
53- $<BUILD_INTERFACE:${libInterpolate_BINARY_DIR } /include >
53+ $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR } /include >
5454 $<INSTALL_INTERFACE:include >)
5555target_compile_definitions (Interpolate
5656 INTERFACE $<$<BOOL :${MSVC} >:_USE_MATH_DEFINES>)
5757target_compile_features (Interpolate INTERFACE cxx_std_17)
5858
5959configure_file (
6060 "${CMAKE_CURRENT_SOURCE_DIR} /src/libInterpolate/version.h.in"
61- "${CMAKE_BINARY_DIR } /include/libInterpolate/version.h"
61+ "${CMAKE_CURRENT_BINARY_DIR } /include/libInterpolate/version.h"
6262)
6363target_sources (
6464 Interpolate
Original file line number Diff line number Diff line change 1+ #include < libInterpolate/version.h>
2+
13#include < algorithm>
24#include < boost/program_options.hpp>
35#include < boost/range/adaptor/strided.hpp>
@@ -14,6 +16,7 @@ using namespace std;
1416namespace po = boost::program_options;
1517
1618void print_usage (char prog_name[]) {
19+ cout << " version " << libInterpolate_FULL_VERSION << " \n\n " ;
1720 cout << " usage: " << prog_name
1821 << " [OPTIONS] interpolation-data-file x-values-file output-file"
1922 << " \n " ;
Original file line number Diff line number Diff line change 11#pragma once
22
3- #define libInterpolate_VERSION "@libInterpolate_FULL_VERSION@"
3+ #define libInterpolate_FULL_VERSION "@libInterpolate_FULL_VERSION@"
You can’t perform that action at this time.
0 commit comments