mirror of https://github.com/ecmwf/eccodes.git
Use PROJECT_BINARY_DIR instead of CMAKE_BINARY_DIR for tool invocation
This commit is contained in:
parent
a23f9e154d
commit
cd4926d964
|
@ -14,7 +14,7 @@ def_dir="${proj_dir}/definitions"
|
|||
ECCODES_DEFINITION_PATH="${def_dir}"
|
||||
export ECCODES_DEFINITION_PATH
|
||||
|
||||
tools_dir=@CMAKE_BINARY_DIR@/bin/
|
||||
tools_dir=@PROJECT_BINARY_DIR@/bin/
|
||||
examples_dir=@CMAKE_CURRENT_BINARY_DIR@/
|
||||
|
||||
samp_dir="${proj_dir}/samples"
|
||||
|
|
|
@ -14,7 +14,7 @@ def_dir="${proj_dir}/definitions"
|
|||
ECCODES_DEFINITION_PATH="${def_dir}"
|
||||
export ECCODES_DEFINITION_PATH
|
||||
|
||||
tools_dir=@CMAKE_BINARY_DIR@/bin/
|
||||
tools_dir=@PROJECT_BINARY_DIR@/bin/
|
||||
examples_dir=@CMAKE_CURRENT_BINARY_DIR@/
|
||||
|
||||
samp_dir="${proj_dir}/samples"
|
||||
|
|
|
@ -14,7 +14,7 @@ def_dir="${proj_dir}/definitions"
|
|||
ECCODES_DEFINITION_PATH="${def_dir}"
|
||||
export ECCODES_DEFINITION_PATH
|
||||
|
||||
tools_dir=@CMAKE_BINARY_DIR@/bin/
|
||||
tools_dir=@PROJECT_BINARY_DIR@/bin/
|
||||
examples_dir=@CMAKE_CURRENT_BINARY_DIR@/
|
||||
|
||||
samp_dir="${proj_dir}/samples"
|
||||
|
|
|
@ -14,9 +14,9 @@ def_dir=@PROJECT_SOURCE_DIR@/definitions
|
|||
ECCODES_DEFINITION_PATH="${def_dir}"
|
||||
export ECCODES_DEFINITION_PATH
|
||||
|
||||
tools_dir=@CMAKE_BINARY_DIR@/bin/
|
||||
tigge_dir=@CMAKE_BINARY_DIR@/bin/
|
||||
test_dir=@CMAKE_BINARY_DIR@/tests
|
||||
tools_dir=@PROJECT_BINARY_DIR@/bin/
|
||||
tigge_dir=@PROJECT_BINARY_DIR@/bin/
|
||||
test_dir=@PROJECT_BINARY_DIR@/tests
|
||||
|
||||
samp_dir="${proj_dir}/samples"
|
||||
ECCODES_SAMPLES_PATH=${samp_dir}
|
||||
|
|
Loading…
Reference in New Issue