Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-camera-pilatus
Commits
3a465f7f
Commit
3a465f7f
authored
May 14, 2018
by
Samuel Debionne
Committed by
Sebastien Petitdemange
May 24, 2018
Browse files
Change library name from cbf to cbflib. Remove deprecated linker flags.
parent
379a55fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
3a465f7f
...
...
@@ -23,8 +23,6 @@
############################################################################
set
(
NAME
"pilatus"
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"-Wl,--add-needed"
)
set
(
${
NAME
}
_srcs src/PilatusCamera.cpp src/PilatusInterface.cpp
src/PilatusSaving.cpp
)
...
...
@@ -34,9 +32,9 @@ add_library(lima${NAME} SHARED ${${NAME}_srcs})
target_include_directories
(
lima
${
NAME
}
PUBLIC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/include"
)
#LIBRARIES
find_library
(
PILATUS_CBF_LIB cbf
)
find_library
(
PILATUS_CBF_LIB cbf
lib
)
if
(
"
${
PILATUS_CBF_LIB
}
"
STREQUAL
"PILATUS_CBF_LIB-NOTFOUND"
)
message
(
FATAL_ERROR
"
${
NAME
}
:
lib
cbf not found, you can search it in cmake-gui or try to install it if it isn't here."
)
message
(
FATAL_ERROR
"
${
NAME
}
: cbf
lib
not found, you can search it in cmake-gui or try to install it if it isn't here."
)
endif
()
...
...
Write
Preview
Markdown
is supported
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