fixed bug #251: freeglut cmake modules installation would disregard
CMAKE_INSTALL_LIBDIR git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1854 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
31606f4f88
commit
ff0bded3ea
@ -622,7 +622,7 @@ CONFIGURE_FILE(FreeGLUTConfig.cmake.in
|
|||||||
"${CMAKE_CURRENT_BINARY_DIR}/FreeGLUT/FreeGLUTConfig.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/FreeGLUT/FreeGLUTConfig.cmake"
|
||||||
@ONLY
|
@ONLY
|
||||||
)
|
)
|
||||||
SET(ConfigPackageLocation lib/cmake/FreeGLUT)
|
SET(ConfigPackageLocation ${CMAKE_INSTALL_LIBDIR}/cmake/FreeGLUT)
|
||||||
INSTALL(EXPORT FreeGLUTTargets
|
INSTALL(EXPORT FreeGLUTTargets
|
||||||
FILE FreeGLUTTargets.cmake
|
FILE FreeGLUTTargets.cmake
|
||||||
NAMESPACE FreeGLUT::
|
NAMESPACE FreeGLUT::
|
||||||
|
Reference in New Issue
Block a user