From 47514014f880ef964250aaa8d62f169db25355b2 Mon Sep 17 00:00:00 2001 From: Dimitrios Eftaxiopoulos Date: Thu, 15 Mar 2012 18:50:06 +0200 Subject: [PATCH] Imported Upstream version 2~rc2+svn364 --- src/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 71efbc4..91d7512 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -79,11 +79,11 @@ if(use_gif) endif(use_gif) if(use_hdf5 OR use_hdf5_18) - target_link_libraries(mgl ${HDF5_LIB}) + target_link_libraries(mgl ${HDF5_LIBRARIES}) add_definitions(-DHAVE_HDF5) - if(use_hdf5) + if(NOT use_hdf5_18) add_definitions(-DH5_USE_16_API) - endif(use_hdf5) + endif(NOT use_hdf5_18) include_directories(${HDF5_INCLUDE_DIR}) endif(use_hdf5 OR use_hdf5_18) -- 2.30.2