rpavlik / vrjuggler

My VR Juggler changes, including a cmake-based build
http://academic.cleardefinition.com
GNU Lesser General Public License v2.1
4 stars 6 forks source link

ProgramFilesGlob Missing #6

Closed carlsonp closed 11 years ago

carlsonp commented 11 years ago

I think ProgramFilesGlob

https://github.com/rpavlik/cmake-modules/blob/master/ProgramFilesGlob.cmake

may need to be added to the CMake Modules in order to get the new FindLibusb1.cmake working. Currently on Windows I get the following Cmake message:

CMake Error at scripts/cmake/FindLibusb1.cmake:34 (include):
  include could not find load file:

    ProgramFilesGlob
Call Stack (most recent call first):
  modules/gadgeteer/drivers/Open/VRPN/CMakeLists.txt:3 (find_package)

CMake Error at scripts/cmake/FindLibusb1.cmake:35 (program_files_fallback_glob):
  Unknown CMake command "program_files_fallback_glob".
Call Stack (most recent call first):
  modules/gadgeteer/drivers/Open/VRPN/CMakeLists.txt:3 (find_package)
carlsonp commented 11 years ago

And PrefixListGlob.cmake...

I added these two files and Cmake ran successfully. I don't have libusb to test "findability" on Windows.

godbyk commented 11 years ago

Ah, sorry about that. The reason I missed those files was because they're only required for Windows builds and I've only tested it on Linux.

rpavlik commented 11 years ago

Handled.