From e05d38bdd0c44067f8b3e8791988ac0fd90a318b Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Fri, 24 Jan 2020 12:35:26 +0100 Subject: [PATCH] Fix the previous fix --- cmake/modules/FindOpenVDB.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/FindOpenVDB.cmake b/cmake/modules/FindOpenVDB.cmake index b56a7c3cc..48f0d6655 100644 --- a/cmake/modules/FindOpenVDB.cmake +++ b/cmake/modules/FindOpenVDB.cmake @@ -520,7 +520,7 @@ foreach(COMPONENT ${OpenVDB_FIND_COMPONENTS}) if(NOT TARGET OpenVDB::${COMPONENT}) if (${COMPONENT} STREQUAL openvdb) include (${CMAKE_CURRENT_LIST_DIR}/CheckAtomic.cmake) - set(_LINK_LIBS _OPENVDB_VISIBLE_DEPENDENCIES ${CMAKE_REQUIRED_LIBRARIES}) + set(_LINK_LIBS ${_OPENVDB_VISIBLE_DEPENDENCIES} ${CMAKE_REQUIRED_LIBRARIES}) else () set(_LINK_LIBS _OPENVDB_VISIBLE_DEPENDENCIES) endif ()