diff --git a/OpenEXR/IlmImf/CMakeLists.txt b/OpenEXR/IlmImf/CMakeLists.txt index 18d90edc5d..9b2fb11317 100644 --- a/OpenEXR/IlmImf/CMakeLists.txt +++ b/OpenEXR/IlmImf/CMakeLists.txt @@ -8,8 +8,8 @@ ADD_EXECUTABLE ( b44ExpLogTable TARGET_LINK_LIBRARIES ( b44ExpLogTable Half - Iex${ILMBASE_LIBSUFFIX} IlmThread${ILMBASE_LIBSUFFIX} + Iex${ILMBASE_LIBSUFFIX} ${PTHREAD_LIB} ) @@ -25,8 +25,8 @@ ADD_EXECUTABLE ( dwaLookups TARGET_LINK_LIBRARIES ( dwaLookups Half - Iex${ILMBASE_LIBSUFFIX} IlmThread${ILMBASE_LIBSUFFIX} + Iex${ILMBASE_LIBSUFFIX} ${PTHREAD_LIB} )