Output the cppcheck program in the base folder

This commit is contained in:
Daniel Marjamäki 2010-02-14 08:26:55 +01:00
parent ca2ef4c642
commit 2ad812d2de
1 changed files with 1 additions and 1 deletions

View File

@ -47,6 +47,6 @@ if (CMAKE_COMPILER_IS_GNUCXX)
endif (CMAKE_COMPILER_IS_GNUCXX) endif (CMAKE_COMPILER_IS_GNUCXX)
include_directories (${CPPCHECK_SOURCE_DIR}/lib) include_directories (${CPPCHECK_SOURCE_DIR}/lib)
ADD_EXECUTABLE(cppcheck ${CHECKCLI_SRCS} ${CHECKCLI_HDRS} ${LIB_SRCS}) ADD_EXECUTABLE(../cppcheck ${CHECKCLI_SRCS} ${CHECKCLI_HDRS} ${LIB_SRCS})
TARGET_LINK_LIBRARIES(cppcheck ${CHECK_LIBS}) TARGET_LINK_LIBRARIES(cppcheck ${CHECK_LIBS})