From b1b85c8a41a2516d8532c9e740cc458f0c854b2e Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Tue, 30 Jun 2020 21:45:09 +0200 Subject: [PATCH] CMake: restore installation of FFTW3 and TIFF DLLs Bug came from my misunderstanding CMake syntax --- Core/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Core/CMakeLists.txt b/Core/CMakeLists.txt index 0278029f617..f4781396b7a 100644 --- a/Core/CMakeLists.txt +++ b/Core/CMakeLists.txt @@ -2,6 +2,8 @@ # CMakeLists.txt file for building libBornAgainCore library ############################################################################ +message(STATUS "Configuring BornAgain GUI") + set(library_name BornAgainCore) if(BORNAGAIN_TIDY) @@ -235,13 +237,16 @@ if(WIN32) install(FILES ${UTF_PATH}/${UTF_BASE_NAME}.dll DESTINATION ${destination_lib} COMPONENT Libraries) - foreach(LIB IN LISTS ${FFTW3_LIBRARIES} ${TIFF_LIBRARIES}) + set(DLL_MSG "") + foreach(LIB IN LISTS FFTW3_LIBRARIES TIFF_LIBRARIES) string(REPLACE ".lib" ".dll" DLL "${LIB}") if (NOT EXISTS ${DLL}) message(FATAL_ERROR "Dynamic load library ${DLL} (derived from ${LIB}) does not exist") endif() install(FILES ${DLL} DESTINATION ${destination_lib} COMPONENT Libraries) + string(APPEND DLL_MSG " ${DLL}") endforeach() + message(STATUS "Other dlls: ${DLL_MSG}") else() # Install thisbornagain.sh. -- GitLab