Skip to content

Commit

Permalink
Fix naming for the messenger folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
IYP-Programer-Yeah committed Apr 20, 2019
1 parent 0fea043 commit ad89813
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions Projects/CMake/MDP/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ project(MDP)

add_custom_target(${PROJECT_NAME}_HEADERS ALL
${CMAKE_COMMAND} -E make_directory ${LOCAL_INCLUDE_DIR}/${PROJECT_NAME}
COMMAND ${CMAKE_COMMAND} -E copy_directory ${REPO_ROOT}/Messenger/Include/ ${LOCAL_INCLUDE_DIR}/${PROJECT_NAME})
COMMAND ${CMAKE_COMMAND} -E copy_directory ${REPO_ROOT}/${PROJECT_NAME}/Include/ ${LOCAL_INCLUDE_DIR}/${PROJECT_NAME})

add_library(${PROJECT_NAME} INTERFACE)
target_include_directories(${PROJECT_NAME} INTERFACE ${LOCAL_INCLUDE_DIR})
add_dependencies(${PROJECT_NAME} ${PROJECT_NAME}_HEADERS)

if(WIN32)
install(DIRECTORY ${REPO_ROOT}/Messenger/Include/ DESTINATION Include/${PROJECT_NAME})
install(DIRECTORY ${REPO_ROOT}/${PROJECT_NAME}/Include/ DESTINATION Include/${PROJECT_NAME})
else()
install(DIRECTORY ${REPO_ROOT}/Messenger/Include/ DESTINATION include/${PROJECT_NAME})
install(DIRECTORY ${REPO_ROOT}/${PROJECT_NAME}/Include/ DESTINATION include/${PROJECT_NAME})
endif()

2 changes: 1 addition & 1 deletion Projects/MSVC/2015/MDP/Scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ fi
InstallPath="$Prefix/Include/MDP/"

mkdir "$InstallPath" -p
cp "$Basedir/../../../../../Messenger/Include/." "$InstallPath" -r
cp "$Basedir/../../../../../MDP/Include/." "$InstallPath" -r

0 comments on commit ad89813

Please sign in to comment.