- Fixed equality tests and related script problems.

This commit is contained in:
ccremers 2007-01-09 15:37:43 +00:00
parent eafb56396f
commit 35bd183a20
2 changed files with 6 additions and 6 deletions

View File

@ -21,10 +21,10 @@ endif (Source_OS STREQUAL Destination_OS)
message (STATUS "Locating platform specific file ${BuildScriptName}")
# Locate the file. If it exists, start it
if (EXISTS "${BuildScriptName}")
if (EXISTS ${BuildScriptName})
# Execute the build script
include (${BuildScriptFile})
else (EXISTS "${BuildScriptName}")
include (${BuildScriptName})
else (EXISTS ${BuildScriptName})
# Could not find it!
message (STATUS "Could not find ${BuildScriptName}")
if (Source_OS STREQUAL Destination_OS)
@ -32,5 +32,5 @@ else (EXISTS "${BuildScriptName}")
else (Source_OS STREQUAL Destination_OS)
message (FATAL_ERROR "Don't know how to build for ${Destination_OS} on ${Source_OS}")
endif (Source_OS STREQUAL Destination_OS)
endif (EXISTS "${BuildScriptName}")
endif (EXISTS ${BuildScriptName})

View File

@ -9,8 +9,8 @@ find_program(lipoexecutable lipo)
if (lipoexecutable)
# Check whether we already have the binaries
set (UBrequiredfiles FALSE)
set (ppcfile "${CMAKE_CURRENT_BINARY_DIR}/scyther-macppc")
set (intelfile "${CMAKE_CURRENT_BINARY_DIR}/scyther-macintel")
set (ppcfile "scyther-macppc")
set (intelfile "scyther-macintel")
if (EXISTS "${ppcfile}")
if (EXISTS "${intelfile}")
set (UBrequiredfiles TRUE)