Skip to content

Commit

Permalink
FIX: cmake directories
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Jun 7, 2016
1 parent 1bedc49 commit 1114789
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -513,14 +513,14 @@ INSTALL(
# Begin ncxx4-config section
#####

FILE(MAKE_DIRECTORY ${netCDF_BINARY_DIR}/tmp)
CONFIGURE_FILE("${netCDF_SOURCE_DIR}/ncxx4-config.cmake.in"
"${netCDF_BINARY_DIR}/tmp/ncxx4-config" @ONLY)
FILE(COPY "${netCDF_BINARY_DIR}/tmp/ncxx4-config"
DESTINATION ${netCDF_BINARY_DIR}/
FILE(MAKE_DIRECTORY ${NCXX_BINARY_DIR}/tmp)
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/ncxx4-config.cmake.in"
"${NCXX_BINARY_DIR}/tmp/ncxx4-config" @ONLY)
FILE(COPY "${NCXX_BINARY_DIR}/tmp/ncxx4-config"
DESTINATION ${NCXX_BINARY_DIR}/
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE)

INSTALL(PROGRAMS ${netCDF_BINARY_DIR}/ncxx4-config
INSTALL(PROGRAMS ${NCXX_BINARY_DIR}/ncxx4-config
DESTINATION ${CMAKE_INSTALL_BINDIR}
COMPONENT utilities)

Expand Down

0 comments on commit 1114789

Please sign in to comment.