diff --git a/example/ace_check/timers/CMakeLists.txt b/example/ace_check/timers/CMakeLists.txt index 109f374bdb4..deb9e500859 100644 --- a/example/ace_check/timers/CMakeLists.txt +++ b/example/ace_check/timers/CMakeLists.txt @@ -1,5 +1,5 @@ # This is a small project to check if ace is working -PROJECT(ace_check) +PROJECT(timers) # There is a script for finding the ACE library in the prev directory SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../) @@ -9,7 +9,6 @@ FIND_PACKAGE(Ace REQUIRED) # Find source code files FILE(GLOB HEADERS *.h) -#FILE(GLOB CODE *.cpp) SET(CODE main.cpp) # Lay the files out in folders in environments where that makes sense @@ -19,16 +18,4 @@ SOURCE_GROUP("Source Files" FILES ${CODE}) # Create our executable ADD_EXECUTABLE(checkTime ${HEADERS} ${CODE}) - -ADD_DEFINITIONS(-D_REENTRANT) - -# This is just for packaging up this example for distribution -IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") - SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "An example for testing ACE") - SET(CPACK_PACKAGE_VENDOR "VVV") - SET(CPACK_PACKAGE_VERSION_MAJOR "1") - SET(CPACK_PACKAGE_VERSION_MINOR "0") - SET(CPACK_PACKAGE_VERSION_PATCH "1") - INSTALL_FILES(/ FILES ${HEADERS} ${CODE} CMakeLists.txt FindAce.cmake) - INCLUDE(CPack) -ENDIF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") +ADD_DEFINITIONS(-D_REENTRANT) \ No newline at end of file