cmake: Improve the usage of PARENT_SCOPE

This commit is contained in:
louiz’
2017-03-12 16:51:19 +01:00
parent 4d42dddf46
commit a6f6e36594
9 changed files with 62 additions and 78 deletions
+2 -2
View File
@@ -193,11 +193,11 @@ add_executable(test_suite EXCLUDE_FROM_ALL ${source_tests}
target_link_libraries(${PROJECT_NAME}
${EXPAT_LIBRARIES}
${LIBUUID_LIBRARIES}
${EXPAT_LIBRARIES})
${EXPAT_LIBRARY})
target_link_libraries(test_suite
${EXPAT_LIBRARIES}
${LIBUUID_LIBRARIES}
${EXPAT_LIBRARIES})
${EXPAT_LIBRARY})
if(SYSTEMD_FOUND)
target_link_libraries(${PROJECT_NAME} ${SYSTEMD_LIBRARIES})
target_link_libraries(test_suite ${SYSTEMD_LIBRARIES})