Commit 77c781dc authored by Andreas Buykx's avatar Andreas Buykx

using CMAKE_CURRENT_LIST_DIR instead of vtk_cmake_dir

parent f1f4b4ea
Pipeline #127633 passed with stage
......@@ -82,8 +82,8 @@ endif()
#if so, test whether -i_dynamic is needed
if(_MAY_BE_INTEL_COMPILER)
include(${vtk_cmake_dir}/TestNO_ICC_IDYNAMIC_NEEDED.cmake)
testno_icc_idynamic_needed(NO_ICC_IDYNAMIC_NEEDED ${vtk_cmake_dir})
include(${CMAKE_CURRENT_LIST_DIR}/TestNO_ICC_IDYNAMIC_NEEDED.cmake)
testno_icc_idynamic_needed(NO_ICC_IDYNAMIC_NEEDED ${CMAKE_CURRENT_LIST_DIR})
if(NO_ICC_IDYNAMIC_NEEDED)
set(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS}")
else()
......
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