Fix old/new helper binaries in unit tests failing to run on OS X 10.5 if built on OS X 10.7.

Apply the Leopard STL template symbol fix to the helper binaries.
Reviewed-by: Carles Pina
This commit is contained in:
Robert Knight 2012-10-29 14:03:51 +00:00
parent 2a59c6f888
commit 92ef486dc6

View file

@ -1,12 +1,18 @@
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/..") include_directories("${CMAKE_CURRENT_SOURCE_DIR}/..")
if (APPLE)
set(HELPER_SHARED_SOURCES ../StlSymbolsLeopard.cpp)
endif()
# Create helper binaries for unit tests # Create helper binaries for unit tests
add_executable(oldapp add_executable(oldapp
old_app.cpp old_app.cpp
${HELPER_SHARED_SOURCES}
) )
add_executable(newapp add_executable(newapp
new_app.cpp new_app.cpp
${HELPER_SHARED_SOURCES}
) )
# Install data files required by unit tests # Install data files required by unit tests