Unverified Commit e4c43797 authored by Dennis Jenkins's avatar Dennis Jenkins Committed by GitHub

Merge pull request #273 from mszy/patch-1

No installation flag usage in main CMakeList
parents b6e13d3c 2cd8b9ef
...@@ -53,6 +53,7 @@ endif() ...@@ -53,6 +53,7 @@ endif()
@ONLY @ONLY
) )
if(PISTACHE_INSTALL)
# Install header... # Install header...
install ( install (
FILES FILES
...@@ -60,6 +61,7 @@ endif() ...@@ -60,6 +61,7 @@ endif()
DESTINATION DESTINATION
include/pistache/ include/pistache/
) )
endif()
# Configure the pkg-config metadata... # Configure the pkg-config metadata...
...@@ -77,6 +79,7 @@ endif() ...@@ -77,6 +79,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
...@@ -84,4 +87,5 @@ endif() ...@@ -84,4 +87,5 @@ 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