nvidia-texture-tools/src/bc6h/CMakeLists.txt
leper 542711f862 Link with -fPIC when using Clang.
Remove the need for a few workarounds by handling this in just one place.
2019-01-09 00:55:19 +01:00

18 lines
259 B
CMake

PROJECT(bc6h)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
SET(BC6H_SRCS
bits.h
shapes_two.h
tile.h
zoh_utils.cpp
zoh_utils.h
zoh.cpp
zoh.h
zohone.cpp
zohtwo.cpp)
ADD_LIBRARY(bc6h STATIC ${BC6H_SRCS})
TARGET_LINK_LIBRARIES(bc6h nvcore nvmath)