add_executable (curvatures main.cc ) add_executable (curvatures-static EXCLUDE_FROM_ALL main.cc ) SET_TARGET_PROPERTIES(curvatures PROPERTIES OUTPUT_NAME "curvatures") SET_TARGET_PROPERTIES(curvatures-static PROPERTIES OUTPUT_NAME "curvatures") target_link_libraries (curvatures ${LIBS} gnurbs-dynamic ${NUTIL_DYNAMIC_LIBRARIES} ) target_link_libraries (curvatures-static ${LIBS} gnurbs-static ${NUTIL_STATIC_LIBRARIES} )