[CMake] How can I write CMakeLists.txt to link a special library?
Hendrik Sattler
post at hendrik-sattler.de
Mon Dec 15 10:39:35 EST 2008
Michael Wild schrieb:
> if (NOT WIN32)
> # use pkg-config to get the directories and then use these values
> # in the FIND_PATH() and FIND_LIBRARY() calls
> find_package( PkgConfig REQUIRED )
> pkg_check_modules( _sigcxx2 REQUIRED sigc++-2.0 )
> endif (NOT WIN32)
pkgconfig can also be used on win32, so this is not correct, especially
when using MSYS.
HS
More information about the CMake
mailing list