add cmake export to all targets & bugfix Find module
- Add "EXPORT paradiseo-targets" to cmake's "install" commands.
- Export those targets in "paradiseo-config.cmake",
which is needed by FindParadiseo.cmake script.
- Bugfix "FindParadiseo.cmake" script:
- document PARADISEO_ROOT input,
- add PARADISEO_DIR to specify a bin dir (try build, debug and release as defaults),
- bugfix bad copy pastes involving edo and peo,
- default messages only for eo, mo and meo.
This commit is contained in:
parent
f7608e2d51
commit
d83681d6fa
12 changed files with 61 additions and 31 deletions
|
|
@ -14,7 +14,7 @@ set(LIBRARY_OUTPUT_PATH ${EDOUTILS_LIB_OUTPUT_PATH})
|
|||
|
||||
file(GLOB SOURCES *.cpp)
|
||||
add_library(edoutils ${SOURCES})
|
||||
install(TARGETS edoutils ARCHIVE DESTINATION ${LIB} COMPONENT libraries)
|
||||
install(TARGETS edoutils EXPORT paradiseo-targets ARCHIVE DESTINATION ${LIB} COMPONENT libraries)
|
||||
|
||||
set(EDOUTILS_VERSION ${GLOBAL_VERSION})
|
||||
set_target_properties(edoutils PROPERTIES VERSION "${EDOUTILS_VERSION}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue