--- a/src/proto2/CMakeLists.txt Tue Nov 04 22:29:18 2008 +0000
+++ b/src/proto2/CMakeLists.txt Wed Nov 05 20:39:44 2008 +0000
@@ -22,8 +22,8 @@
# Assumes the project generates only one executable. If you need more, you'll need to alter
# the script and replace ${PROJECT_SHORT_NAME} by executable name.
-add_executable("${PROJECT_SHORT_NAME}/proto2" ${SOURCES})
-target_link_libraries("${PROJECT_SHORT_NAME}/proto2" ${LIBS})
-install(TARGETS "${PROJECT_SHORT_NAME}/proto2" DESTINATION bin)
+add_executable("${PROJECT_SHORT_NAME}-p2" ${SOURCES})
+target_link_libraries("${PROJECT_SHORT_NAME}-p2" ${LIBS})
+install(TARGETS "${PROJECT_SHORT_NAME}-p2" DESTINATION bin)