mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make it compilant with the build script
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6f93590705
commit
c2bdc58fb8
4 changed files with 10 additions and 0 deletions
|
|
@ -39,9 +39,13 @@ ELSE()
|
|||
ENDIF()
|
||||
|
||||
FIND_PACKAGE(Libdivecomputer REQUIRED)
|
||||
INCLUDE_DIRECTORIES(${LIBDIVECOMPUTER_INCLUDE_DIR})
|
||||
|
||||
FIND_PACKAGE(Marble REQUIRED)
|
||||
include_directories(${MARBLE_INCLUDE_DIR})
|
||||
|
||||
SET(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} ${LIBDIVECOMPUTER_LIBRARIES} ${LIBGIT2_LIBRARIES} -lusb-1.0)
|
||||
|
||||
# handle out of tree build correctly
|
||||
|
||||
STRING(COMPARE EQUAL "${${PROJECT_NAME}_SOURCE_DIR}" "${${PROJECT_NAME}_BINARY_DIR}" insource)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue