Created
February 10, 2020 09:32
-
-
Save thendrix/633808fdf60e3a40a028da4ebb4d4aba to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index d8a0283..dde9c43 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -34,4 +34,7 @@ target_sources(img2ktx PRIVATE | |
add_subdirectory(third_party) | |
# This line should be in third_party/CMakeLists.txt, but would require CMake 3.13 (see CMP0079 for details) | |
target_link_libraries(img2ktx PRIVATE Compressonator) | |
+if(${UNIX}) | |
+ target_link_libraries(img2ktx PRIVATE pthread) | |
+endif() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment