TZIVI-254: IVI needs a newer version of cmake
[profile/ivi/cmake.git] / Tests / CMakeOnly / TargetScope / CMakeLists.txt
1 cmake_minimum_required (VERSION 2.8)
2 project(TargetScope NONE)
3
4 add_subdirectory(Sub)
5
6 if(TARGET SubLibLocal)
7   message(FATAL_ERROR "SubLibLocal visible in top directory")
8 endif()
9 if(NOT TARGET SubLibGlobal)
10   message(FATAL_ERROR "SubLibGlobal not visible in top directory")
11 endif()
12
13 add_subdirectory(Sib)