Browse Source

CMake: set proper bundle identifier prefix for test cases on iOS.

pull/157/head
Vladimír Vondruš 10 years ago
parent
commit
72a7a79959
  1. 3
      CMakeLists.txt

3
CMakeLists.txt

@ -145,6 +145,9 @@ option(BUILD_TESTS "Build unit tests" OFF)
cmake_dependent_option(BUILD_GL_TESTS "Build unit tests for OpenGL code" OFF "BUILD_TESTS" OFF) cmake_dependent_option(BUILD_GL_TESTS "Build unit tests for OpenGL code" OFF "BUILD_TESTS" OFF)
if(BUILD_TESTS) if(BUILD_TESTS)
find_package(Corrade REQUIRED TestSuite) find_package(Corrade REQUIRED TestSuite)
if(CORRADE_TARGET_IOS)
set(CORRADE_TESTSUITE_BUNDLE_IDENTIFIER_PREFIX "cz.mosra.magnum")
endif()
enable_testing() enable_testing()
endif() endif()

Loading…
Cancel
Save