Commit 77022c80 authored by Max Lyon's avatar Max Lyon

only add link directories to corresponding property if not empty

parent 7d458534
Pipeline #8756 failed with stages
in 6 minutes and 56 seconds
......@@ -403,7 +403,9 @@ target_include_directories (CoMISo PUBLIC
)
message("COMISO_LINK_DIRECTORIES: ${COMISO_LINK_DIRECTORIES}")
set_target_properties(CoMISo PROPERTIES LINK_DIRECTORIES ${COMISO_LINK_DIRECTORIES})
if (${COMISO_LINK_DIRECTORIES})
set_target_properties(CoMISo PROPERTIES LINK_DIRECTORIES ${COMISO_LINK_DIRECTORIES})
endif()
# generate dllexport macros on windows
if (WIN32)
......
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