Skip to content

Commit

Permalink
Change version.h and libpistache.pc install source location to use CM…
Browse files Browse the repository at this point in the history
…AKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR
  • Loading branch information
sourcedelica committed Jun 15, 2019
1 parent 4c0407e commit 5c1bbeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include)
if(PISTACHE_INSTALL)
install (
FILES
${CMAKE_BINARY_DIR}/include/pistache/version.h
${CMAKE_CURRENT_BINARY_DIR}/include/pistache/version.h
DESTINATION
${CMAKE_INSTALL_INCLUDEDIR}/pistache/
)
Expand Down Expand Up @@ -151,7 +151,7 @@ include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include)
if(PISTACHE_INSTALL)
install (
FILES
${CMAKE_BINARY_DIR}/libpistache.pc
${CMAKE_CURRENT_BINARY_DIR}/libpistache.pc
DESTINATION
${CMAKE_INSTALL_LIBDIR}/pkgconfig/
)
Expand Down

0 comments on commit 5c1bbeb

Please sign in to comment.