From 6ee7dc6a4b087674fd81a26144866307e714b330 Mon Sep 17 00:00:00 2001 From: Drew Fisher Date: Sun, 13 Nov 2011 23:35:55 -0800 Subject: [PATCH] Use variable names instead of library names explicitly. Signed-off-by: Drew Fisher --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61f6be7..6a41c19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,7 @@ set(CMAKE_C_FLAGS "-Wall -ggdb") add_library(touchmouse SHARED ${LIBSRC}) if(WIN32) - target_link_libraries(touchmouse setupapi) + target_link_libraries(touchmouse ${PLATFORM_LIBS}) endif() # Build examples -- 2.39.2