Executable has the same name as the project
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Wed, 23 Feb 2011 14:55:08 +0000 (15:55 +0100)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@intra2net.com>
Wed, 23 Feb 2011 14:55:08 +0000 (15:55 +0100)
src/CMakeLists.txt

index bca280b..2a03d02 100644 (file)
@@ -20,7 +20,7 @@ set( SOURCES
 )
 
 # binary name
-set( TARGET pingcheck )
+set( TARGET ${PROJECT_NAME} )
 
 # creates the binary
 add_executable( ${TARGET} ${SOURCES} )