Skip to content

Commit

Permalink
Be a little bit less harsh on checking for Third_Party. refs #4472
Browse files Browse the repository at this point in the history
If we can't find the THIRD_PARTY directory that is specified
(or assumed) then don't give an error (in case we have all the
dependencies else where) but just print a warning.
  • Loading branch information
stuartcampbell committed Mar 20, 2012
1 parent d0bdc43 commit 2441a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")

# Check that the 3rd party directory exists.
if (NOT IS_DIRECTORY "${THIRD_PARTY}")
message ( FATAL_ERROR "Specified THIRD_PARTY directory doesn't exist!" )
message ( WARNING "Specified THIRD_PARTY directory doesn't exist!" )
endif()

include ( WindowsSetup )
Expand All @@ -56,7 +56,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")

# Check that the 3rd party directory exists.
if (NOT IS_DIRECTORY "${THIRD_PARTY}")
message ( FATAL_ERROR "Specified THIRD_PARTY directory doesn't exist!" )
message ( WARNING "Specified THIRD_PARTY directory doesn't exist!" )
endif()

include ( DarwinSetup )
Expand Down

0 comments on commit 2441a3e

Please sign in to comment.