From daf489a605a3a96f999365f0fe1d76ed083ce47b Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Wed, 2 Sep 2009 23:31:57 +0000 Subject: [PATCH] Set all the required variables in the PolyVoxConfig.cmake file --- library/PolyVoxConfig.cmake.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/library/PolyVoxConfig.cmake.in b/library/PolyVoxConfig.cmake.in index f7ee83e9..346b3365 100644 --- a/library/PolyVoxConfig.cmake.in +++ b/library/PolyVoxConfig.cmake.in @@ -24,9 +24,11 @@ set(PolyVoxCore_INCLUDE_DIRS "${PREFIX}/@PolyVoxCore_INCLUDE_INSTALL_DIRS@") set(PolyVoxUtil_INCLUDE_DIRS "${PREFIX}/@PolyVoxUtil_INCLUDE_INSTALL_DIRS@") set(PolyVox_INCLUDE_DIRS "${PolyVoxCore_INCLUDE_DIRS}" "${PolyVoxUtil_INCLUDE_DIRS}" "${PREFIX}/include") -set(PolyVox_LIBRARIES "PolyVoxUtil" "PolyVoxCore") - +set(PolyVoxCore_LIBRARIES "PolyVoxCore") +set(PolyVoxUtil_LIBRARIES "PolyVoxUtil") +set(PolyVox_LIBRARIES "${PolyVoxCore_LIBRARIES};${PolyVoxUtil_LIBRARIES}") message(STATUS "Found PolyVox") -message(STATUS " libraries : '${PolyVox_LIBRARIES}' from ${PolyVox_LIBRARY_DIRS}") +message(STATUS " libraries : '${PolyVoxCore_LIBRARIES}' from ${PolyVoxCore_LIBRARY_DIRS}") +message(STATUS " : '${PolyVoxUtil_LIBRARIES}' from ${PolyVoxUtil_LIBRARY_DIRS}") message(STATUS " includes : ${PolyVox_INCLUDE_DIRS}")