[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES
From: kent williams <nkwmailinglists () gmail ! com>
Date: 2011-11-29 16:28:41
Message-ID: CAA4Dnn14b04W4047=hy3FqJNZBN5WWF7t5umY_tYHXJqdCaZ_g () mail ! gmail ! com
[Download RAW message or body]
I'm running into problems using the DCMTK library. I've set up an
ExternalProject to build and install it, and the CMake 2.8.5
FindDCMTK.cmake finds the library if I set DCMTK_DIR.
But the DCMTK_INCLUDE_DIRS variable created by FindDCMTK.cmake isn't
100% correct. It does a good job of enumerating all the include
directories, but the include files themselves have the bad manners to
use #include statements like this:
#include "dcmtk/config/osconfig.h"
Which would mean that ${prefix}/include should be added to DCMTK_INCLUDE_DIRS
${prefix}/include/dcmtk/config
${prefix}/include/dcmtk/dcmdata
${prefix}/include/dcmtk/dcmimage
${prefix}/include/dcmtk/dcmimgle
${prefix}/include/dcmtk/dcmjpeg
${prefix}/include/dcmtk/dcmnet
${prefix}/include/dcmtk/dcmpstat
${prefix}/include/dcmtk/dcmqrdb
${prefix}/include/dcmtk/dcmsign
${prefix}/include/dcmtk/dcmsr
${prefix}/include/dcmtk/dcmtls
${prefix}/include/dcmtk/ofstd
${prefix}/include/dcmtk
Or am I doing something dumb?
--
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic