Changeset 304:ad3c46016584 in freeDiameter for freeDiameter/CMakeLists.txt
- Timestamp:
- May 14, 2010, 5:26:53 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/CMakeLists.txt
r300 r304 52 52 MESSAGE(SEND_ERROR "Unable to find gcrypt.h, please install libgcrypt-dev or equivalent") 53 53 Endif ( NOT GCRYPT_INCLUDE_DIR ) 54 MARK_AS_ADVANCED(GCRYPT_INCLUDE_DIR) 54 55 INCLUDE_DIRECTORIES(${GCRYPT_INCLUDE_DIR}) 55 56 … … 64 65 TARGET_LINK_LIBRARIES(freeDiameterd libfreeDiameter ${FD_LIBS}) 65 66 66 # The daemon is to be installed as part of the freeDiameter-daemon component.67 INSTALL(TARGETS freeDiameterd68 RUNTIME DESTINATION bin69 COMPONENT freeDiameter-daemon)70 71 67 # Save the list of files, if needed 72 68 SET(FD_COMMON_SRC ${FD_COMMON_SRC} PARENT_SCOPE) … … 74 70 75 71 # The unary tests directory 76 OPTION(SKIP_TESTS "Skip compilation of the tests?" O FF)72 OPTION(SKIP_TESTS "Skip compilation of the tests?" ON) 77 73 IF ( NOT SKIP_TESTS ) 78 74 SUBDIRS(tests) 79 75 ENDIF ( NOT SKIP_TESTS ) 76 IF (NOT CMAKE_BUILD_TYPE MATCHES "Debug") 77 MARK_AS_ADVANCED(SKIP_TESTS) 78 ENDIF (NOT CMAKE_BUILD_TYPE MATCHES "Debug") 79 80 81 #### 82 ## INSTALL section ## 83 84 INSTALL(TARGETS freeDiameterd 85 RUNTIME DESTINATION bin 86 COMPONENT freeDiameter-daemon)
Note: See TracChangeset
for help on using the changeset viewer.