[Cmake] Unresolved External Symbols
William A. Hoffman
billlist at nycap.rr.com
Thu Aug 5 12:26:13 EDT 2004
You will want to use the TARGET_LINK_LIBRARIES command.
Section 6.1 in the CMake book covers using header files
and libraries in more detail. Basically, you need to specify
include file directories with INCLUDE_DIRECTORIES and libraries
with TARGET_LINK_LIBRAREIS or LINK_LIBRARIES.
-Bill
At 11:56 AM 8/5/2004, Andrew Dupont wrote:
>Hello Again,
>
> When attempting to build my CMake generated Visual Studio
>project file, during linking it reports a lot of unresolved external
>symbols. These all seem to originate from the references to third party
>software that it is dependant on. How do I make it obvious in my CMake
>file to be able to reference the header files for that third part
>software during the linking process?
>
>Thanks Again,
>Andy
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake
More information about the Cmake
mailing list