mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
054637a2ae
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
14 lines
359 B
Diff
14 lines
359 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 3692bea4a7..29ee7adb1c 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -61,7 +61,7 @@ target_link_libraries(boost_numeric_odeint
|
|
if(BOOST_ENABLE_MPI)
|
|
target_link_libraries(boost_numeric_odeint
|
|
INTERFACE
|
|
- Boost::mpi
|
|
+ $<TARGET_NAME_IF_EXISTS:Boost::mpi>
|
|
)
|
|
endif()
|
|
|