Commit 80a169d4 authored by Samuel Pitoiset's avatar Samuel Pitoiset

cmake: fix REMOVE_DUPLICATES requires list to be present error

Introduced in 16b3a43f.
parent 10ae8359
......@@ -484,8 +484,12 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse/
endif(SCALFMM_USE_FFT)
list(APPEND FUSE_LIST "FFT")
message(STATUS "SCALFMM_USE_FFT = ${SCALFMM_USE_FFT}")
list(REMOVE_DUPLICATES SCALFMM_INCLUDES)
list(REMOVE_DUPLICATES SCALFMM_LIBRARIES)
if (SCALFMM_INCLUDES)
list(REMOVE_DUPLICATES SCALFMM_INCLUDES)
endif()
if (SCALFMM_LIBRARIES)
list(REMOVE_DUPLICATES SCALFMM_LIBRARIES)
endif()
#
# C++ 2011
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment