Skip to content
Snippets Groups Projects
Commit 5aa4877d authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Task #8021: Reverted latest commit (r34602); it causes problems I don't yet understand.

parent 0f6f37a5
No related branches found
No related tags found
No related merge requests found
...@@ -213,10 +213,6 @@ if(NOT DEFINED LOFAR_MACROS_INCLUDED) ...@@ -213,10 +213,6 @@ if(NOT DEFINED LOFAR_MACROS_INCLUDED)
# use of the generator expression $<TARGET_FILE>. # use of the generator expression $<TARGET_FILE>.
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
macro(lofar_create_target_symlink _target _symlink) macro(lofar_create_target_symlink _target _symlink)
if(NOT TARGET _target)
message(SEND_ERROR
"Cannot create symbolic link to non-existing target ${_target}")
endif(NOT TARGET _target)
if(POLICY CMP0026) if(POLICY CMP0026)
set(_location $<TARGET_FILE:${_target}>) set(_location $<TARGET_FILE:${_target}>)
else(POLICY CMP0026) else(POLICY CMP0026)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment