Re: [CMake] about FIND_PACKAGE(PythonLibs): Could NOT find PythonLibs

2010-10-05 Thread David Aldrich
Of > Richie Hwang > Sent: 04 October 2010 20:24 > To: cmake@cmake.org > Subject: [CMake] about FIND_PACKAGE(PythonLibs): Could NOT find PythonLibs > > Hi, > > I am using swig to bind python and a c++ project. According to the > example, In my Cmakelist.txt I wrote as fo

[CMake] about FIND_PACKAGE(PythonLibs): Could NOT find PythonLibs

2010-10-04 Thread Richie Hwang
Hi, I am using swig to bind python and a c++ project. According to the example, In my Cmakelist.txt I wrote as follows: SET(PYTHON_INCLUDE_DIRS "C:\\Python27\\include") SET(PYTHON_LIBRARIES "C:\\Python27\\libs") FIND_PACKAGE(PythonLibs) Still get the errors: Could NOT find PythonLibs (missing: