From: Guilherme Maciel Ferreira Date: Wed, 23 Feb 2011 14:55:08 +0000 (+0100) Subject: Executable has the same name as the project X-Git-Tag: v1.0~186 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=ee383f1984f45a2240f0c9149825ce3fe71d4c9d;p=pingcheck Executable has the same name as the project --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bca280b..2a03d02 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -20,7 +20,7 @@ set( SOURCES ) # binary name -set( TARGET pingcheck ) +set( TARGET ${PROJECT_NAME} ) # creates the binary add_executable( ${TARGET} ${SOURCES} )