mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 17:22:40 +02:00
add lib to lib dirs for win and linux
This commit is contained in:
parent
e8ea45efde
commit
f63aa44d01
1 changed files with 3 additions and 3 deletions
|
@ -41,9 +41,9 @@ elseif (UNIX)
|
|||
)
|
||||
|
||||
if (GCC_VERSION VERSION_GREATER 4.4 OR GCC_VERSION VERSION_EQUAL 4.4)
|
||||
set(_TBB_LIB_DIR "${_TBB_ARCH_DIR}/gcc4.4")
|
||||
set(_TBB_LIB_DIR "lib/${_TBB_ARCH_DIR}/gcc4.4")
|
||||
elseif (GCC_VERSION VERSION_GREATER 4.1 OR GCC_VERSION VERSION_EQUAL 4.1)
|
||||
set(_TBB_LIB_DIR "${_TBB_ARCH_DIR}/gcc4.1")
|
||||
set(_TBB_LIB_DIR "lib/${_TBB_ARCH_DIR}/gcc4.1")
|
||||
else ()
|
||||
message(FATAL_ERROR "Could not find a compatible version of Threading Building Blocks library for your compiler.")
|
||||
endif ()
|
||||
|
@ -55,7 +55,7 @@ elseif (WIN32)
|
|||
set(_TBB_ARCH_DIR "ia32")
|
||||
endif()
|
||||
|
||||
set(_TBB_LIB_DIR "${_TBB_ARCH_DIR}/vc12")
|
||||
set(_TBB_LIB_DIR "lib/${_TBB_ARCH_DIR}/vc12")
|
||||
endif ()
|
||||
|
||||
find_library(TBB_LIBRARY_DEBUG NAMES ${_TBB_LIB_NAME}_debug PATH_SUFFIXES ${_TBB_LIB_DIR} HINTS ${TBB_SEARCH_DIRS})
|
||||
|
|
Loading…
Reference in a new issue