summaryrefslogtreecommitdiffstats
path: root/Tests/BundleTest
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/BundleTest')
-rw-r--r--Tests/BundleTest/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tests/BundleTest/CMakeLists.txt b/Tests/BundleTest/CMakeLists.txt
index 4fb65bf..de69d75 100644
--- a/Tests/BundleTest/CMakeLists.txt
+++ b/Tests/BundleTest/CMakeLists.txt
@@ -61,7 +61,7 @@ set_target_properties(BundleTest PROPERTIES OUTPUT_NAME BundleTestExe)
# Test executable versioning if it is supported.
if(NOT XCODE)
set_target_properties(BundleTest PROPERTIES VERSION 1)
-endif(NOT XCODE)
+endif()
# Make sure the executable can find its installed library.
set_target_properties(BundleTestLib PROPERTIES
@@ -77,26 +77,26 @@ if(EXISTS /usr/lib/libtcl.dylib
message("frame: ${TCL}")
if(NOT "${TCL}" MATCHES .framework)
message(FATAL_ERROR "Could not find tcl framework, found ${TCL}")
- endif(NOT "${TCL}" MATCHES .framework)
+ endif()
set(TCL NOTFOUND)
set(CMAKE_FIND_FRAMEWORK LAST)
find_library(TCL tcl)
if("${TCL}" MATCHES .framework)
message(FATAL_ERROR "Found framework and should have found dylib ${TCL}")
- endif("${TCL}" MATCHES .framework)
+ endif()
set(TCL NOTFOUND)
set(CMAKE_FIND_FRAMEWORK NEVER)
find_library(TCL tcl)
if("${TCL}" MATCHES .framework)
message(FATAL_ERROR "Found framework and should have found dylib ${TCL}")
- endif("${TCL}" MATCHES .framework)
+ endif()
message("not frame: ${TCL}")
set(TCL NOTFOUND)
set(CMAKE_FIND_FRAMEWORK FIRST)
find_library(TCL tcl)
if(NOT "${TCL}" MATCHES .framework)
message(FATAL_ERROR "Could not find tcl framework, found ${TCL}")
- endif(NOT "${TCL}" MATCHES .framework)
+ endif()
message("frame: ${TCL}")
endif(EXISTS /usr/lib/libtcl.dylib
AND EXISTS /System/Library/Frameworks/Tcl.framework)