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}")