Fix the PolyVoxConifg[Version].cmake files.

Dave, try renaming Thermite's FindPolyVox.cmake file and see if cmake correctly finds PolyVox one it's been installed with these changes
This commit is contained in:
Matt Williams
2009-02-27 16:40:04 +00:00
parent 42f66378ea
commit 5b52f8c65f
2 changed files with 3 additions and 3 deletions

View File

@ -134,5 +134,5 @@ else(WIN32)
set(CONFIG_FILE_DIR "share/PolyVox/cmake")
endif(WIN32)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/PolyVoxConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/PolyVoxConfig.cmake)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/PolyVoxConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/PolyVoxConfig.cmake @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/PolyVoxConfig.cmake DESTINATION ${CONFIG_FILE_DIR})