Allow relocatable installation with PolyVoxConfig.cmake

This commit is contained in:
Matt Williams 2010-03-05 16:02:00 +00:00
parent 6f70396c9a
commit d012fcafd8

View File

@ -13,7 +13,8 @@
include(FindPackageMessage)
set(PREFIX "@CMAKE_INSTALL_PREFIX@")
get_filename_component(THIS_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(PREFIX ${THIS_DIR}/../../..)
set(PolyVoxCore_LIBRARY_DIRS "${PREFIX}/@PolyVoxCore_LIBRARY_INSTALL_DIRS@")