Skip to content
Snippets Groups Projects
Commit a9e22bc3 authored by Lars Bilke's avatar Lars Bilke
Browse files

Check if on Jenkins.

parent 7eca6cd0
No related branches found
No related tags found
No related merge requests found
......@@ -123,3 +123,13 @@ FIND_PACKAGE( Shapelib )
IF(Shapelib_FOUND)
ADD_DEFINITIONS(-DShapelib_FOUND)
ENDIF() # Shapelib_FOUND
########################
### Find other stuff ###
########################
# Check if on Jenkins
IF(NOT $ENV{JENKINS_URL} STREQUAL "")
SET(JENKINS_URL $ENV{JENKINS_URL})
SET(JENKINS_JOB_NAME $ENV{JOB_NAME})
ENDIF()
\ No newline at end of file
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