Skip to content

Commit 08e760e

Browse files
authored
add in cmake variable to hack copying of gmp dlls
1 parent a5d4513 commit 08e760e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,8 @@ else()
4545
set_target_properties(_ext PROPERTIES INSTALL_RPATH "$ORIGIN/lib")
4646
endif()
4747

48+
if (MSVC AND FASTJET_ENABLE_CGAL)
49+
message("-- Copying ${GMP_DLL_TO_COPY} to project area!")
50+
install(FILES ${GMP_DLL_TO_COPY} DESTINATION ${CMAKE_INSTALL_PREFIX})
51+
endif()
4852
install(TARGETS _ext LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX})

0 commit comments

Comments
 (0)