summaryrefslogtreecommitdiff
path: root/dev-cpp/scitokens-cpp/files/scitokens-cpp-0.7.0-install-when-testing.patch
blob: c2b50081090e89b277c7db57a8ad3056a369e889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Bug: https://github.com/scitokens/scitokens-cpp/issues/82

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec5c878..611afb1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,13 +81,12 @@ endif()
 enable_testing()
 add_subdirectory(test)
 
-else()
+endif()
 get_directory_property(TARGETS BUILDSYSTEM_TARGETS)
 install(
   TARGETS ${TARGETS} 
   LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
   RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
-endif()
 
 install(
   FILES src/scitokens.h