Mercurial > hg > orthanc
comparison Resources/CMake/DcmtkConfiguration.cmake @ 116:5dce26a8d045
skip autodetection of dcmtk by cmake
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 04 Oct 2012 14:54:35 +0200 |
parents | 97d92e25c961 |
children | 0c5902cfe9db |
comparison
equal
deleted
inserted
replaced
115:97d92e25c961 | 116:5dce26a8d045 |
---|---|
57 source_group(ThirdParty\\Dcmtk REGULAR_EXPRESSION ${DCMTK_SOURCES_DIR}/.*) | 57 source_group(ThirdParty\\Dcmtk REGULAR_EXPRESSION ${DCMTK_SOURCES_DIR}/.*) |
58 | 58 |
59 set(DCMTK_BUNDLES_LOG4CPLUS 1) | 59 set(DCMTK_BUNDLES_LOG4CPLUS 1) |
60 | 60 |
61 else() | 61 else() |
62 include(FindDCMTK) | 62 #include(FindDCMTK) |
63 set(DCMTK_DIR /usr/include/dcmtk) | |
64 set(DCMTK_INCLUDE_DIR ${DCMTK_DIR}) | |
63 | 65 |
64 #message(${DCMTK_LIBRARIES}) | 66 #message(${DCMTK_LIBRARIES}) |
65 set(DCMTK_LIBRARIES dcmdata dcmnet) | |
66 | 67 |
67 include_directories(${DCMTK_INCLUDE_DIR}) | 68 include_directories(${DCMTK_INCLUDE_DIR}) |
68 link_libraries(${DCMTK_LIBRARIES} wrap) | 69 link_libraries(dcmdata dcmnet wrap) |
69 | 70 |
70 add_definitions( | 71 add_definitions( |
71 -DHAVE_CONFIG_H=1 | 72 -DHAVE_CONFIG_H=1 |
72 ) | 73 ) |
73 | 74 |