#------------------------------------------------------------------- # This file is part of the CMake build system for Hydrax # # The contents of this file are placed in the public domain. Feel # free to make use of it in any way you like. #------------------------------------------------------------------- ############################################################# # Install useful CMake modules. # These are necessary to compile the samples from the install # directory, but can also be used for custom projects. ############################################################# if(WIN32 OR APPLE) set(HYDRAX_CMAKE_DIR "CMake") else() set(HYDRAX_CMAKE_DIR "${HYDRAX_LIB_DIRECTORY}/HYDRAX/cmake") endif() set(INST_FILES Utils/HydraxFindPkgMacros.cmake Utils/HydraxConfigTargets.cmake Utils/HydraxGetVersion.cmake Utils/HydraxMacroLogFeature.cmake ) if (WIN32) set(INST_FILES ${INST_FILES} Templates/VisualStudioUserFile.vcproj.user.in) endif () install(FILES ${INST_FILES} DESTINATION ${HYDRAX_CMAKE_DIR})