Do not include etcpack & rgetc in the build.
This commit is contained in:
parent
8baac9b111
commit
26a56414c5
@ -28,8 +28,8 @@ SET(NVTT_SRCS
|
|||||||
cuda/CudaMath.h
|
cuda/CudaMath.h
|
||||||
cuda/BitmapTable.h
|
cuda/BitmapTable.h
|
||||||
cuda/CudaCompressorDXT.h cuda/CudaCompressorDXT.cpp
|
cuda/CudaCompressorDXT.h cuda/CudaCompressorDXT.cpp
|
||||||
${NV_SOURCE_DIR}/extern/rg_etc1_v104/rg_etc1.h ${NV_SOURCE_DIR}/extern/rg_etc1_v104/rg_etc1.cpp
|
#${NV_SOURCE_DIR}/extern/rg_etc1_v104/rg_etc1.h ${NV_SOURCE_DIR}/extern/rg_etc1_v104/rg_etc1.cpp
|
||||||
${NV_SOURCE_DIR}/extern/etcpack/etcpack.cxx ${NV_SOURCE_DIR}/extern/etcpack/etcdec.cxx
|
#${NV_SOURCE_DIR}/extern/etcpack/etcpack.cxx ${NV_SOURCE_DIR}/extern/etcpack/etcdec.cxx
|
||||||
)
|
)
|
||||||
|
|
||||||
IF (CUDA_FOUND)
|
IF (CUDA_FOUND)
|
||||||
@ -44,7 +44,7 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
|
|||||||
INCLUDE_DIRECTORIES(${NV_SOURCE_DIR}/extern/rg_etc1_v104)
|
INCLUDE_DIRECTORIES(${NV_SOURCE_DIR}/extern/rg_etc1_v104)
|
||||||
|
|
||||||
ADD_DEFINITIONS(-DNVTT_EXPORTS)
|
ADD_DEFINITIONS(-DNVTT_EXPORTS)
|
||||||
ADD_DEFINITIONS(-DHAVE_RGETC)
|
#ADD_DEFINITIONS(-DHAVE_RGETC)
|
||||||
#ADD_DEFINITIONS(-DHAVE_ETCPACK)
|
#ADD_DEFINITIONS(-DHAVE_ETCPACK)
|
||||||
|
|
||||||
IF(NVTT_SHARED)
|
IF(NVTT_SHARED)
|
||||||
|
Loading…
Reference in New Issue
Block a user