Fix OSX compile
authorJens Verwiebe <info@jensverwiebe.de>
Sun, 16 Sep 2012 14:31:25 +0000 (14:31 +0000)
committerJens Verwiebe <info@jensverwiebe.de>
Sun, 16 Sep 2012 14:31:25 +0000 (14:31 +0000)
extern/libmv/third_party/ceres/CMakeLists.txt

index 16b7f12..2fd8c74 100644 (file)
@@ -250,7 +250,7 @@ else()
 endif()
 
 if(APPLE)
-       if( STREQUAL "10.5")
+       if(CMAKE_OSX_DEPLOYMENT_TARGET STREQUAL "10.5")
                add_definitions(
                        -DCERES_NO_TR1
                )