Add threads library

This commit is contained in:
Gatgat 2021-08-27 14:34:35 +02:00
parent c343b4d8f0
commit 55a5361c80
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.10)
project(msdf-atlas-gen LANGUAGES CXX)
add_subdirectory(msdfgen)
find_package(Threads REQUIRED)
#----------------------------------------------------------------
# Gathering files
@ -25,6 +26,7 @@ target_compile_definitions(msdf-atlas-gen
target_link_libraries(msdf-atlas-gen
PRIVATE
Threads::Threads
msdfgen::msdfgen
msdfgen::msdfgen-ext
)