1 2 3 4 5 6 7
cmake_policy(SET CMP0039 NEW) add_custom_target(utility COMMAND ${CMAKE_COMMAND} -E echo test ) target_link_libraries(utility m)