diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-22 15:41:22 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-12-22 15:41:22 (GMT) |
commit | f7e4d92de62766e9b3ed49250b740ca25a347e57 (patch) | |
tree | 3edb9d862aa41b6458b77a3008af9540bd500cc9 | |
parent | fc25f7abe741a0d5ce119a739567e7f63a6dd071 (diff) | |
download | hdf5-f7e4d92de62766e9b3ed49250b740ca25a347e57.zip hdf5-f7e4d92de62766e9b3ed49250b740ca25a347e57.tar.gz hdf5-f7e4d92de62766e9b3ed49250b740ca25a347e57.tar.bz2 |
Include should be the lib folder
-rw-r--r-- | tools/perform/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perform/CMakeLists.txt b/tools/perform/CMakeLists.txt index 7f3e296..676947e 100644 --- a/tools/perform/CMakeLists.txt +++ b/tools/perform/CMakeLists.txt @@ -29,7 +29,7 @@ if (HDF5_BUILD_PERFORM_STANDALONE AND BUILD_TESTING) ${HDF5_TOOLS_PERFORM_SOURCE_DIR}/sio_standalone.c ) add_executable (h5perf_serial_alone ${h5perf_serial_alone_SOURCES}) - target_include_directories (h5perf_serial_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TOOLS_SRC_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") + target_include_directories (h5perf_serial_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TOOLS_SRC_DIR}/lib;$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") if (NOT BUILD_SHARED_LIBS) TARGET_C_PROPERTIES (h5perf_serial_alone STATIC) target_link_libraries (h5perf_serial_alone PRIVATE ${HDF5_LIB_TARGET}) @@ -163,7 +163,7 @@ if (H5_HAVE_PARALLEL AND BUILD_TESTING) ${HDF5_TOOLS_PERFORM_SOURCE_DIR}/pio_standalone.c ) add_executable (h5perf_alone ${h5perf_alone_SOURCES}) - target_include_directories (h5perf_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TOOLS_SRC_DIR};$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") + target_include_directories (h5perf_alone PRIVATE "${HDF5_SRC_DIR};${HDF5_BINARY_DIR};${HDF5_TOOLS_SRC_DIR}/lib;$<$<BOOL:${HDF5_ENABLE_PARALLEL}>:${MPI_C_INCLUDE_DIRS}>") if (NOT BUILD_SHARED_LIBS) TARGET_C_PROPERTIES (h5perf_alone STATIC) target_link_libraries (h5perf_alone PRIVATE ${HDF5_LIB_TARGET}) |