CMakeLists.txt 195 B

123456
  1. include_directories(${Dependency_BINARY_DIR}/Two)
  2. add_library( Four FourSrc.c )
  3. target_link_libraries( Four One Two NoDepA )
  4. # TwoCustom must build before Four.
  5. add_dependencies(Four TwoCustom)