On Mon, Mar 30, 2009 at 7:48 PM, Kermit Mei wrote:
> I want to add the following program as a part of my project, but I don't
> konw how to manage it in CMake.
>
> I worte the following in my CMakeLists.txt:
> FIND_LIBRARY(LIBWMM winmm)
> ADD_EXECUTABLE(aplay WIN32 aplay.c)
> TARGET_LINK_LIBRA
I want to add the following program as a part of my project, but I don't
konw how to manage it in CMake.
I worte the following in my CMakeLists.txt:
FIND_LIBRARY(LIBWMM winmm)
ADD_EXECUTABLE(aplay WIN32 aplay.c)
TARGET_LINK_LIBRARIES(aplay ${LIBWMM})
But it always told me that "undefined ref