ECC-853: Install tigge tools only if ECCODES_INSTALL_EXTRA_TOOLS is set

This commit is contained in:
Shahram Najm 2018-12-13 21:30:50 +00:00
parent ee6ef39091
commit 7db2c172e4
1 changed files with 15 additions and 12 deletions

View File

@ -6,20 +6,23 @@ ecbuild_add_executable(TARGET tigge_check
)
ecbuild_add_executable(TARGET tigge_name
SOURCES tigge_name.c
INCLUDES ${ECCODES_EXTRA_INCLUDE_DIRS}
LIBS eccodes
ecbuild_add_executable(TARGET tigge_name
SOURCES tigge_name.c
INCLUDES ${ECCODES_EXTRA_INCLUDE_DIRS}
CONDITION ECCODES_INSTALL_EXTRA_TOOLS
LIBS eccodes
)
ecbuild_add_executable(TARGET tigge_accumulations
SOURCES tigge_accumulations.c
INCLUDES ${ECCODES_EXTRA_INCLUDE_DIRS}
LIBS eccodes
ecbuild_add_executable(TARGET tigge_accumulations
SOURCES tigge_accumulations.c
INCLUDES ${ECCODES_EXTRA_INCLUDE_DIRS}
CONDITION ECCODES_INSTALL_EXTRA_TOOLS
LIBS eccodes
)
ecbuild_add_executable(TARGET tigge_split
SOURCES tigge_split.c
INCLUDES ${ECCODES_EXTRA_INCLUDE_DIRS}
LIBS eccodes
ecbuild_add_executable(TARGET tigge_split
SOURCES tigge_split.c
INCLUDES ${ECCODES_EXTRA_INCLUDE_DIRS}
CONDITION ECCODES_INSTALL_EXTRA_TOOLS
LIBS eccodes
)