File: 0006-Merge-changes-from-The-Witness.patch

package info (click to toggle)
nvidia-texture-tools 2.1.0-git20160229%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 4,016 kB
  • sloc: cpp: 43,200; ansic: 22,635; sh: 67; makefile: 14
file content (30 lines) | stat: -rw-r--r-- 772 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 9489aed825c6a0a931dfdd75e8ab6f97292b31a7 Mon Sep 17 00:00:00 2001
From: Ignacio <castano@gmail.com>
Date: Mon, 5 Feb 2018 18:55:07 -0800
Subject: [PATCH] Merge changes from The Witness.

---
 src/bc6h/CMakeLists.txt | 1 +
 src/bc7/CMakeLists.txt  | 1 +
 2 files changed, 2 insertions(+)

--- a/src/bc6h/CMakeLists.txt
+++ b/src/bc6h/CMakeLists.txt
@@ -14,6 +14,7 @@ SET(BC6H_SRCS
 	zohtwo.cpp)
 
 ADD_LIBRARY(bc6h STATIC ${BC6H_SRCS})
+TARGET_LINK_LIBRARIES(bc6h nvcore nvmath)
 
 IF(NOT WIN32)
     IF(CMAKE_COMPILER_IS_GNUCXX)
--- a/src/bc7/CMakeLists.txt
+++ b/src/bc7/CMakeLists.txt
@@ -22,6 +22,7 @@ SET(BC7_SRCS
 	avpcl_utils.h)
 
 ADD_LIBRARY(bc7 STATIC ${BC7_SRCS})
+TARGET_LINK_LIBRARIES(bc7 nvcore nvmath)
 
 IF(NOT WIN32)
     IF(CMAKE_COMPILER_IS_GNUCXX)