From: Drew Fisher Date: Mon, 14 Nov 2011 07:35:55 +0000 (-0800) Subject: Use variable names instead of library names explicitly. X-Git-Url: http://git.zarvox.org/shortlog/2013?a=commitdiff_plain;h=6ee7dc6a4b087674fd81a26144866307e714b330;p=libtouchmouse.git Use variable names instead of library names explicitly. Signed-off-by: Drew Fisher --- 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