diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 27d23668..38287f19 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -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}) diff --git a/library/PolyVoxConfig.cmake.in b/library/PolyVoxConfig.cmake.in index c9dacb14..a88e0712 100644 --- a/library/PolyVoxConfig.cmake.in +++ b/library/PolyVoxConfig.cmake.in @@ -6,7 +6,7 @@ # PolyVox_LIBRARY_DIRS, the location of the libraries # PolyVox_FOUND, If false, do not try to use OGRE # -# Copyright © 2008, Matt Williams +# Copyright © 2008, Matt Williams # # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. @@ -15,7 +15,7 @@ include(FindPackageMessage) set(PREFIX "@CMAKE_INSTALL_PREFIX@") set(PolyVox_LIBRARY_DIRS "${PREFIX}/lib") -set(PolyVox_INCLUDE_DIRS "${PREFIX}/include/PolyVoxCore" "${PREFIX}/include/PolyVoxUtil" "${PREFIX}/include) +set(PolyVox_INCLUDE_DIRS "${PREFIX}/include/PolyVoxCore" "${PREFIX}/include/PolyVoxUtil" "${PREFIX}/include") set(PolyVox_LIBRARIES "PolyVoxUtil" "PolyVoxCore") message(STATUS "Found PolyVox")