Skip to content

Commit

Permalink
Move license & contribution guidelines to .github folder
Browse files Browse the repository at this point in the history
  • Loading branch information
9prady9 authored Feb 23, 2019
1 parent ce14730 commit 6d38784
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions CMakeModules/ForgeCPackConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION})
if(WIN32)
set(WIN_INSTALL_SOURCE ${PROJECT_SOURCE_DIR}/CMakeModules/nsis)

set(LICENSE_FILE "${Forge_SOURCE_DIR}/LICENSE")
set(LICENSE_FILE "${Forge_SOURCE_DIR}/.github/LICENSE")
set(LICENSE_FILE_OUT "${CMAKE_CURRENT_BINARY_DIR}/license.txt")
configure_file(${LICENSE_FILE} ${LICENSE_FILE_OUT})
set(CPACK_RESOURCE_FILE_LICENSE ${LICENSE_FILE_OUT})
Expand All @@ -73,7 +73,7 @@ if(WIN32)
set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
endif(CMAKE_CL_64)
else()
set(CPACK_RESOURCE_FILE_LICENSE "${Forge_SOURCE_DIR}/LICENSE")
set(CPACK_RESOURCE_FILE_LICENSE "${Forge_SOURCE_DIR}/.github/LICENSE")
set(CPACK_RESOURCE_FILE_README "${Forge_SOURCE_DIR}/README.md")
endif()

Expand Down

0 comments on commit 6d38784

Please sign in to comment.