Commit eefab47c authored by Yuelong Yu's avatar Yuelong Yu
Browse files

fix cmake configuration error by disabling the find_package of h5cpp and pniio

It is not working with cmake 2.8 on Debian 8
parent fc8327af
......@@ -29,14 +29,16 @@ message(STATUS "module path is:${CMAKE_MODULE_PATH}")
#find necessary packages
find_package(LibFSDETCore)
find_package(LibBoost)
find_package(LibPni)
find_package(LibH5CPP)
#find_package(LibPni)
#find_package(LibH5CPP)
include_directories("${PROJECT_SOURCE_DIR}/include/"
${Boost_INCLUDE_DIRS}
${FSDETCORE_LIB_INCLUDE_DIRS})
${FSDETCORE_LIB_INCLUDE_DIRS}
"/usr/include/hdf5/serial")
link_directories(${FSDETCORE_LIB_LIBRARY_DIRS})
link_directories(${FSDETCORE_LIB_LIBRARY_DIRS}
"/usr/lib/x86_64-linux-gnu/hdf5/serial")
# check compiler ID
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
......@@ -76,7 +78,13 @@ set(SHARED_LINKER_FLAGS
${FSDETCORE_LIB_LIBRARIES}
pthread
hdf5_hl
pniio)
boost_filesystem
boost_system
boost_regex
boost_date_time
pnicore
pniio
h5cpp)
set(PKG_LIBS "-lboost_system -lboost_thread -lpthread -lz")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment