Skip to content
Snippets Groups Projects
Commit 71c630c1 authored by Markus Grotz's avatar Markus Grotz
Browse files

read sick_scan_base_DIR from environment

parent 028cb960
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,12 @@
include(FindPackageHandleStandardArgs)
message(STATUS ${sick_scan_base_DIR})
if (DEFINED ENV{sick_scan_base_DIR})
if(NOT DEFINED sick_scan_base_DIR)
set(sick_scan_base_DIR $ENV{sick_scan_base_DIR})
endif()
endif()
#if(NOT "$ENV{sick_scan_base_DIR}" EQUAL "")
# set(sick_scan_base_DIR $ENV{sick_scan_base_DIR} CACHE PATH "Path to sick_scan_base" FORCE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment