wow....I typed that at 2:25am last night. so many typos I actually found out what's going on. It's not cmakes fault, pkg-config under windows is returning that exact same string, but I didn't notice because --cflags looked alright. when using --cflags-only-I I get the C:\Program thing. Maybe I'll find a FindGTKMM.cmake instead.
thanks anyway. Tyler Roscoe wrote: > On Mon, Jun 22, 2009 at 02:25:17AM -0500, [email protected] wrote: > >> I've got this bit of cmake code: >> PKG_CHECK_MODULES(GTKMM gtkmm-2.4 REQUIRED) >> IF(NOT GTKMM_FOUND) >> MESSAGE("GTKMM is required to compile this project." FATAL_ERROR) >> ENDIF(NOT GTKMM_FOUND) >> MESSAGE("gtkmm headers: ${GTKMM_INCLUDE_DIRS}") >> >> and the message I get under windows is: >> C:/Program >> and nothing else. >> > > Your message really doesn't include the "gtkmm headers: " part? If so, > you have something weird going on. > > Maybe try cmake --trace to see if something jumps out at you? > > >> Here is my include dir line. >> INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR} ../libShaderGraph >> ${GTKMM_INCLUDE_DIRS} ../include ../scene >> ${PYTHON_INCLUDE_PATH} "/usr/include/eigen2" >> ${GLEW_INCLUDE_PATH} >> >> The funny thing is that I google code searched CMakeLists.txt files and >> found that everybody seems to be doing this the same way as I am? Am I the >> only person with this problem, or is everybody using CMake under linux >> only? >> > > That snippet looks reasonable and ought to work on any platform. I mean, > you left off the trailing ) but I assume that's a typo. > > tyler > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
