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() ...@@ -62,6 +62,7 @@ endif()
@ONLY @ONLY
) )
if(PISTACHE_INSTALL)
# Install header... # Install header...
install ( install (
FILES FILES
...@@ -69,6 +70,7 @@ endif() ...@@ -69,6 +70,7 @@ endif()
DESTINATION DESTINATION
include/pistache/ include/pistache/
) )
endif()
# Configure the pkg-config metadata... # Configure the pkg-config metadata...
...@@ -86,6 +88,7 @@ endif() ...@@ -86,6 +88,7 @@ endif()
@ONLY @ONLY
) )
if(PISTACHE_INSTALL)
# Install pkg-config metadata into standard location within the prefix... # Install pkg-config metadata into standard location within the prefix...
install ( install (
FILES FILES
...@@ -93,3 +96,4 @@ endif() ...@@ -93,3 +96,4 @@ endif()
DESTINATION DESTINATION
lib/pkgconfig/ 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