Re: [CMake] FLTKConfig.cmake on Microsoft Windows

2010-12-30 Thread Julia Jacobson
I think, the problem with FindFLTK is, that it has never been tested on Windows. If you take a look at FindFLTK you will detect the following lines: # if FLTK was not built using CMake # Find fluid executable. FIND_PROGRAM(FLTK_FLUID_EXECUTABLE fluid ${FLTK_INCLUDE_DIR}/fluid) #

Re: [CMake] FLTKConfig.cmake on Microsoft Windows

2010-12-30 Thread Michael Hertling
On 12/30/2010 11:01 AM, Julia Jacobson wrote: > With your help, everything seems to work now. > My final subdirectory src/CMakeLists.txt looks like this: > > SET(FLTK_DIR "C:/Program Files/fltk-1.1.9/") > SET(FLTK_BASE_LIBRARY "C:/Program Files/fltk-1.1.9/lib/") > SET(FLTK_FORMS_LIBRARY "C:/Progra

Re: [CMake] FLTKConfig.cmake on Microsoft Windows

2010-12-30 Thread Micha Renner
Am Donnerstag, den 30.12.2010, 11:01 +0100 schrieb Julia Jacobson: > What grieves me is that the CMake code I had prepared in linux looked > really nice (without any absolute paths and so on), but the file for > Windows doesn't. I think, the problem with FindFLTK is, that it has never been teste

Re: [CMake] FLTKConfig.cmake on Microsoft Windows

2010-12-30 Thread Julia Jacobson
With your help, everything seems to work now. My final subdirectory src/CMakeLists.txt looks like this: SET(FLTK_DIR "C:/Program Files/fltk-1.1.9/") SET(FLTK_BASE_LIBRARY "C:/Program Files/fltk-1.1.9/lib/") SET(FLTK_FORMS_LIBRARY "C:/Program Files/fltk-1.1.9/lib/") SET(FLTK_GL_LIBRARY "C:/Program

Re: [CMake] FLTKConfig.cmake on Microsoft Windows

2010-12-30 Thread Micha Renner
Am Mittwoch, den 29.12.2010, 20:03 +0100 schrieb Julia Jacobson: > Thanks for your answer. The file FindFLTK.cmake exists within my CMake > installation, but I still get an error message: > "CMake Error at C:/Program Files/CMake > 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91

Re: [CMake] FLTKConfig.cmake on Microsoft Windows

2010-12-29 Thread Julia Jacobson
Thanks for your answer. The file FindFLTK.cmake exists within my CMake installation, but I still get an error message: "CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find FLTK (missing: FLTK_LIBRARIES FLTK_FLUID_EXE

Re: [CMake] FLTKConfig.cmake on Microsoft Windows

2010-12-29 Thread Micha Renner
Am Mittwoch, den 29.12.2010, 12:13 +0100 schrieb Julia Jacobson: > Hello everybody out there using CMake, > > A project I would like to build with CMake uses FLTK. > The CMakeLists.txt file references to FLTK: > ... > SET(FLTK_INCLUDE_DIR C:/Programs/fltk) > FIND_PACKAGE(FLTK REQUIRED) > ... > Ho

[CMake] FLTKConfig.cmake on Microsoft Windows

2010-12-29 Thread Julia Jacobson
Hello everybody out there using CMake, A project I would like to build with CMake uses FLTK. The CMakeLists.txt file references to FLTK: ... SET(FLTK_INCLUDE_DIR C:/Programs/fltk) FIND_PACKAGE(FLTK REQUIRED) ... However, CMake tells me that I can't find the file FLTKConfig.cmake, which indeed do