Commit 5c1bbeb5 authored by Eric Pederson's avatar Eric Pederson

Change version.h and libpistache.pc install source location to use...

Change version.h and libpistache.pc install source location to use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR
parent 4c0407e3
......@@ -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/
)
......@@ -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/
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment