CMake/Tests/Dependency/Four/CMakeLists.txt

7 lines
195 B
CMake

include_directories(${Dependency_BINARY_DIR}/Two)
add_library( Four FourSrc.c )
target_link_libraries( Four One Two NoDepA )
# TwoCustom must build before Four.
add_dependencies(Four TwoCustom)