Skip to content
  • Alexander Neundorf's avatar
    Make target_link_libraries() complain if bad target name is used · c7866351
    Alexander Neundorf authored
    target_link_libraries() did not complain if there was only one argument,
    and this one (first) argument wasn't a valid target name, e.g.
    
    add_executable(hello main.cpp)
    target_link_libraries(-static-intel)
    
    Here the target "hello" was forgotten in the tll() call, but cmake didn't
    complain. With this commit it does.
    
    Alex
    c7866351