Unverified Commit 80a198a1 authored by mszy's avatar mszy Committed by GitHub

Add no installation flags

If option "PISTACHE_INSTALL" is set to off, does not try to install files anymore !
parent 60fbaa25
......@@ -62,6 +62,7 @@ endif()
@ONLY
)
if(PISTACHE_INSTALL)
# Install header...
install (
FILES
......@@ -69,6 +70,7 @@ endif()
DESTINATION
include/pistache/
)
endif()
# Configure the pkg-config metadata...
......@@ -86,6 +88,7 @@ endif()
@ONLY
)
if(PISTACHE_INSTALL)
# Install pkg-config metadata into standard location within the prefix...
install (
FILES
......@@ -93,3 +96,4 @@ endif()
DESTINATION
lib/pkgconfig/
)
endif()
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