Skip to content
Snippets Groups Projects
Commit 2441a3e2 authored by Campbell, Stuart's avatar Campbell, Stuart
Browse files

Be a little bit less harsh on checking for Third_Party. refs #4472

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.
parent d0bdc434
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows") ...@@ -35,7 +35,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
# Check that the 3rd party directory exists. # Check that the 3rd party directory exists.
if (NOT IS_DIRECTORY "${THIRD_PARTY}") 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() endif()
include ( WindowsSetup ) include ( WindowsSetup )
...@@ -56,7 +56,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") ...@@ -56,7 +56,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# Check that the 3rd party directory exists. # Check that the 3rd party directory exists.
if (NOT IS_DIRECTORY "${THIRD_PARTY}") 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() endif()
include ( DarwinSetup ) include ( DarwinSetup )
......
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