Blame Imath/CMakeLists.txt

Packit 8dc392
# yue.nicholas@gmail.com
Packit 8dc392
Packit 8dc392
IF(BUILD_SHARED_LIBS)
Packit 8dc392
    ADD_DEFINITIONS(-DIMATH_EXPORTS)
Packit 8dc392
ENDIF()
Packit 8dc392
Packit 8dc392
ADD_LIBRARY ( Imath ${LIB_TYPE}
Packit 8dc392
  ImathBox.cpp
Packit 8dc392
  ImathRandom.cpp
Packit 8dc392
  ImathColorAlgo.cpp
Packit 8dc392
  ImathShear.cpp
Packit 8dc392
  ImathFun.cpp
Packit 8dc392
  ImathVec.cpp
Packit 8dc392
  ImathMatrixAlgo.cpp
Packit 8dc392
)
Packit 8dc392
TARGET_LINK_LIBRARIES(Imath Iex)
Packit 8dc392
Packit 8dc392
Packit 8dc392
INSTALL ( TARGETS
Packit 8dc392
  Imath
Packit 8dc392
  DESTINATION
Packit 8dc392
  lib
Packit 8dc392
)
Packit 8dc392
Packit 8dc392
INSTALL ( FILES 
Packit 8dc392
  ImathBoxAlgo.h
Packit 8dc392
  ImathBox.h
Packit 8dc392
  ImathColorAlgo.h
Packit 8dc392
  ImathColor.h
Packit 8dc392
  ImathEuler.h
Packit 8dc392
  ImathExc.h
Packit 8dc392
  ImathExport.h
Packit 8dc392
  ImathForward.h
Packit 8dc392
  ImathFrame.h
Packit 8dc392
  ImathFrustum.h
Packit 8dc392
  ImathFrustumTest.h
Packit 8dc392
  ImathFun.h
Packit 8dc392
  ImathGL.h
Packit 8dc392
  ImathGLU.h
Packit 8dc392
  ImathHalfLimits.h
Packit 8dc392
  ImathInt64.h
Packit 8dc392
  ImathInterval.h
Packit 8dc392
  ImathLimits.h
Packit 8dc392
  ImathLineAlgo.h
Packit 8dc392
  ImathLine.h
Packit 8dc392
  ImathMath.h
Packit 8dc392
  ImathMatrixAlgo.h
Packit 8dc392
  ImathMatrix.h
Packit 8dc392
  ImathNamespace.h
Packit 8dc392
  ImathPlane.h
Packit 8dc392
  ImathPlatform.h
Packit 8dc392
  ImathQuat.h
Packit 8dc392
  ImathRandom.h
Packit 8dc392
  ImathRoots.h
Packit 8dc392
  ImathShear.h
Packit 8dc392
  ImathSphere.h
Packit 8dc392
  ImathVecAlgo.h
Packit 8dc392
  ImathVec.h
Packit 8dc392
  DESTINATION
Packit 8dc392
  include/OpenEXR
Packit 8dc392
)