CMake/Tests/Dependency/Exec/CMakeLists.txt

8 lines
308 B
CMake

# This executable directly depends on NoDepB, NoDepC, SixA and SixB. However,
# since NoDepB and NoDepC do not have explicit dependency information,
# and they depend on NoDepA, we have to manually specify that dependency.
LINK_LIBRARIES( NoDepB NoDepC NoDepA SixB SixA )
ADD_EXECUTABLE( exec ExecMain.c )