From 95d0d4e10e57450b76bd41d228c1391573ffe3ba Mon Sep 17 00:00:00 2001 From: Branan Riley Date: Wed, 16 Dec 2015 16:17:28 -0800 Subject: [PATCH] (maint) Use leatherman_deps instead of target_link_libraries in windows target_link_libraries will cause failures when leatherman projects are pulled in via find_package. --- CHANGELOG.md | 6 ++++++ windows/CMakeLists.txt | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ca275d5..50d0e998 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [0.3.2] - 2015-12-16 + +### Fixed + +- The `windows` library incorrectly used `target_link_libraries` instead of `add_leatherman_deps` + ## [0.3.1] - 2015-12-16 ### Fixed diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index 9bccd39f..0d23d383 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -21,8 +21,4 @@ set(WINDOWS_UTIL_SOURCES add_leatherman_library(${WINDOWS_UTIL_SOURCES}) add_leatherman_headers(inc/leatherman) - -target_link_libraries(leatherman_windows - Wbemuuid.lib - userenv.lib -) +add_leatherman_deps(Wbemuuid.lib userenv.lib)