-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nvtt] install extra libraries used by OSG. (#6611)
- Loading branch information
Showing
5 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Source: nvtt | ||
Version: 2.1.0-2 | ||
Version: 2.1.0-3 | ||
Description: Texture processing tools with support for Direct3D 10 and 11 formats. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/src/bc6h/CMakeLists.txt b/src/bc6h/CMakeLists.txt | ||
index 635e0f3a..f758df43 100644 | ||
--- a/src/bc6h/CMakeLists.txt | ||
+++ b/src/bc6h/CMakeLists.txt | ||
@@ -20,3 +20,8 @@ IF(NOT WIN32) | ||
SET_TARGET_PROPERTIES(bc6h PROPERTIES COMPILE_FLAGS -fPIC) | ||
ENDIF(CMAKE_COMPILER_IS_GNUCXX) | ||
ENDIF(NOT WIN32) | ||
+ | ||
+INSTALL(TARGETS bc6h | ||
+ RUNTIME DESTINATION bin | ||
+ LIBRARY DESTINATION lib | ||
+ ARCHIVE DESTINATION lib/static) | ||
\ No newline at end of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/src/bc7/CMakeLists.txt b/src/bc7/CMakeLists.txt | ||
index 2eb01c06..0c36895b 100644 | ||
--- a/src/bc7/CMakeLists.txt | ||
+++ b/src/bc7/CMakeLists.txt | ||
@@ -28,3 +28,8 @@ IF(NOT WIN32) | ||
SET_TARGET_PROPERTIES(bc7 PROPERTIES COMPILE_FLAGS -fPIC) | ||
ENDIF(CMAKE_COMPILER_IS_GNUCXX) | ||
ENDIF(NOT WIN32) | ||
+ | ||
+INSTALL(TARGETS bc7 | ||
+ RUNTIME DESTINATION bin | ||
+ LIBRARY DESTINATION lib | ||
+ ARCHIVE DESTINATION lib/static) | ||
\ No newline at end of file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/nvtt/squish/CMakeLists.txt b/src/nvtt/squish/CMakeLists.txt | ||
index 832013e1..76824137 100644 | ||
--- a/src/nvtt/squish/CMakeLists.txt | ||
+++ b/src/nvtt/squish/CMakeLists.txt | ||
@@ -33,3 +33,7 @@ IF(NOT WIN32) | ||
ENDIF(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX) | ||
ENDIF(NOT WIN32) | ||
|
||
+INSTALL(TARGETS squish | ||
+ RUNTIME DESTINATION bin | ||
+ LIBRARY DESTINATION lib | ||
+ ARCHIVE DESTINATION lib/static) | ||
\ No newline at end of file |