From 0767df5098e8a257be7bc457ffbaf6e80fb7d7c5 Mon Sep 17 00:00:00 2001 From: rinkk <karsten.rink@ufz.de> Date: Wed, 16 Oct 2019 12:01:21 +0200 Subject: [PATCH] adjusted sequence of target link libraries --- Applications/DataExplorer/NetCdfDialog/CMakeLists.txt | 4 ++-- Applications/Utils/FileConverter/CMakeLists.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Applications/DataExplorer/NetCdfDialog/CMakeLists.txt b/Applications/DataExplorer/NetCdfDialog/CMakeLists.txt index 93c6e154361..a473593e20f 100644 --- a/Applications/DataExplorer/NetCdfDialog/CMakeLists.txt +++ b/Applications/DataExplorer/NetCdfDialog/CMakeLists.txt @@ -5,10 +5,10 @@ if(BUILD_SHARED_LIBS) endif() target_link_libraries(NetCdfDialogLib PUBLIC Qt5::Widgets - ${NETCDF_LIBRARIES_C} ${NETCDF_LIBRARIES_CXX} - ${HDF5_LIBRARIES} + ${NETCDF_LIBRARIES_C} ${HDF5_HL_LIBRARIES} + ${HDF5_LIBRARIES} PRIVATE MathLib) set_property(TARGET NetCdfDialogLib PROPERTY FOLDER "DataExplorer") diff --git a/Applications/Utils/FileConverter/CMakeLists.txt b/Applications/Utils/FileConverter/CMakeLists.txt index 8afa5f83108..28882437a08 100644 --- a/Applications/Utils/FileConverter/CMakeLists.txt +++ b/Applications/Utils/FileConverter/CMakeLists.txt @@ -43,8 +43,8 @@ endif() if(TARGET NetCdfConverter) target_link_libraries(NetCdfConverter - ${NETCDF_LIBRARIES_C} ${NETCDF_LIBRARIES_CXX} - ${HDF5_LIBRARIES} - ${HDF5_HL_LIBRARIES}) + ${NETCDF_LIBRARIES_C} + ${HDF5_HL_LIBRARIES} + ${HDF5_LIBRARIES}) endif() -- GitLab