Commit 31322270 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Update target_enable_mtl4.cmake

parent f789e113
Pipeline #860 passed with stages
in 64 minutes and 40 seconds
...@@ -5,8 +5,6 @@ macro(target_enable_mtl4 _TARGET_ _SCOPE_) ...@@ -5,8 +5,6 @@ macro(target_enable_mtl4 _TARGET_ _SCOPE_)
set(LINK_EXECUTABLE OFF) set(LINK_EXECUTABLE OFF)
endif () endif ()
add_library(mtl4 INTERFACE)
if (LINK_EXECUTABLE) if (LINK_EXECUTABLE)
target_include_directories(${_TARGET_} ${_SCOPE_} ${AMDIS_INCLUDE_DIR}/mtl4) target_include_directories(${_TARGET_} ${_SCOPE_} ${AMDIS_INCLUDE_DIR}/mtl4)
else () else ()
...@@ -21,7 +19,6 @@ macro(target_enable_mtl4 _TARGET_ _SCOPE_) ...@@ -21,7 +19,6 @@ macro(target_enable_mtl4 _TARGET_ _SCOPE_)
endforeach () endforeach ()
endif (ENABLE_CXX11) endif (ENABLE_CXX11)
if (ENABLE_OPENMP) if (ENABLE_OPENMP)
find_package(OpenMP REQUIRED) find_package(OpenMP REQUIRED)
if (OPENMP_FOUND) if (OPENMP_FOUND)
......
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