forked from stevenlovegrove/Pangolin
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
15f67b9
commit 193478d
Showing
14 changed files
with
247 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ CMakeLists.txt.user | |
build* | ||
_builds | ||
_logs | ||
.vscode |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# -*- mode: cmake; -*- | ||
############################################################################### | ||
# Find realsense https://github.com/IntelRealSense/librealsense | ||
# | ||
# This sets the following variables: | ||
# REALSENSE_FOUND - True if RealSense was found. | ||
# REALSENSE_INCLUDE_DIRS - Directories containing the RealSense include files. | ||
# REALSENSE_LIBRARIES - Libraries needed to use RealSense. | ||
# REALSENSE_DEFINITIONS - Compiler flags for RealSense. | ||
# | ||
# File forked from augmented_dev, project of alantrrs | ||
# (https://github.com/alantrrs/augmented_dev). | ||
|
||
find_package(PkgConfig) | ||
if(${CMAKE_VERSION} VERSION_LESS 2.8.2) | ||
endif() | ||
|
||
#add a hint so that it can find it without the pkg-config | ||
find_path(REALSENSE_INCLUDE_DIR librealsense/rs.h | ||
HINTS /usr/include/ /usr/local/include) | ||
#add a hint so that it can find it without the pkg-config | ||
find_library(REALSENSE_LIBRARY | ||
NAMES realsense | ||
HINTS /usr/lib /usr/local/lib ) | ||
|
||
set(REALSENSE_INCLUDE_DIRS ${REALSENSE_INCLUDE_DIR}) | ||
set(REALSENSE_LIBRARIES ${REALSENSE_LIBRARY}) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(RealSense DEFAULT_MSG | ||
REALSENSE_LIBRARY REALSENSE_INCLUDE_DIR) | ||
|
||
mark_as_advanced(REALSENSE_LIBRARY REALSENSE_INCLUDE_DIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# -*- mode: cmake; -*- | ||
############################################################################### | ||
# Find realsense2 https://github.com/IntelRealSense/librealsense | ||
# | ||
# This sets the following variables: | ||
# REALSENSE2_FOUND - True if REALSENSE2 was found. | ||
# REALSENSE2_INCLUDE_DIRS - Directories containing the REALSENSE2 include files. | ||
# REALSENSE2_LIBRARIES - Libraries needed to use REALSENSE2. | ||
# REALSENSE2_DEFINITIONS - Compiler flags for REALSENSE2. | ||
# | ||
# File forked from augmented_dev, project of alantrrs | ||
# (https://github.com/alantrrs/augmented_dev). | ||
|
||
find_package(PkgConfig) | ||
if(${CMAKE_VERSION} VERSION_LESS 2.8.2) | ||
endif() | ||
|
||
#add a hint so that it can find it without the pkg-config | ||
find_path(REALSENSE2_INCLUDE_DIR librealsense2/rs.h | ||
HINTS /usr/include/ /usr/local/include) | ||
#add a hint so that it can find it without the pkg-config | ||
find_library(REALSENSE2_LIBRARY | ||
NAMES realsense2 | ||
HINTS /usr/lib /usr/local/lib ) | ||
|
||
set(REALSENSE2_INCLUDE_DIRS ${REALSENSE2_INCLUDE_DIR}) | ||
set(REALSENSE2_LIBRARIES ${REALSENSE2_LIBRARY}) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(RealSense2 DEFAULT_MSG | ||
REALSENSE2_LIBRARY REALSENSE2_INCLUDE_DIR) | ||
|
||
mark_as_advanced(REALSENSE2_LIBRARY REALSENSE2_INCLUDE_DIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.