Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DetectorSoftware
libagipdrecv
Commits
eefab47c
Commit
eefab47c
authored
Jun 20, 2018
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
eefab47c
...
...
@@ -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"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment