Fix for ubuntu 20.04
This commit is contained in:
@ -3,3 +3,9 @@
|
|||||||
include("${CMAKE_CURRENT_LIST_DIR}/TessesFrameworkTargets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/TessesFrameworkTargets.cmake")
|
||||||
|
|
||||||
check_required_components(TessesFramework)
|
check_required_components(TessesFramework)
|
||||||
|
|
||||||
|
if(NOT ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows" OR "${CMAKE_SYSTEM_NAME}" STREQUAL "NintendoWii" OR "${CMAKE_SYSTEM_NAME}" STREQUAL "NintendoGameCube"))
|
||||||
|
set(THREADS_PREFER_PTHREAD_FLAG ON)
|
||||||
|
find_package(Threads REQUIRED)
|
||||||
|
|
||||||
|
endif()
|
||||||
Reference in New Issue
Block a user