[CMake] Build only what you need in third party libs

Brian Davis bitminer at gmail.com
Sat Jan 2 13:33:55 EST 2010


So I figured out the answer to:

Can anyone point me on a path which would help me figure out what (global
project settings) in dcmtk could be causing these kinds of changes in my
unrelated nbody project?

I removed (i.e. the force to use earlier version):

# check required version of CMake
CMAKE_MINIMUM_REQUIRED(VERSION 2.0)
#IF(CMAKE_BACKWARDS_COMPATIBILITY GREATER 2.0.6)
#  SET(CMAKE_BACKWARDS_COMPATIBILITY 2.0.6 CACHE STRING "Latest version of
CMake when this project was released." FORCE)
#ENDIF(CMAKE_BACKWARDS_COMPATIBILITY GREATER 2.0.6)

in dcmtk lib and the nbody app compiles.  Why?

Brian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100102/f74f589f/attachment.htm>


More information about the CMake mailing list