You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
318 B
10 lines
318 B
13 years ago
|
add_library(SubLibLocal UNKNOWN IMPORTED)
|
||
|
add_library(SubLibGlobal UNKNOWN IMPORTED GLOBAL)
|
||
|
add_subdirectory(Sub)
|
||
|
if(NOT TARGET SubLibLocal)
|
||
|
message(FATAL_ERROR "SubLibLocal not visible in own directory")
|
||
|
endif()
|
||
|
if(NOT TARGET SubLibGlobal)
|
||
|
message(FATAL_ERROR "SubLibGlobal not visible in own directory")
|
||
|
endif()
|