File tree 1 file changed +12
-13
lines changed
1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change @@ -69,19 +69,6 @@ target_link_libraries(scitokens-list-access SciTokens)
69
69
add_executable (scitokens-create src/create.cpp)
70
70
target_link_libraries (scitokens-create SciTokens)
71
71
72
- if ( BUILD_UNITTESTS )
73
- if ( NOT EXTERNAL_GTEST )
74
- include (ExternalProject)
75
- ExternalProject_Add(gtest
76
- PREFIX external/gtest
77
- URL ${CMAKE_CURRENT_SOURCE_DIR} /vendor/gtest
78
- INSTALL_COMMAND :
79
- )
80
- endif ()
81
- enable_testing ()
82
- add_subdirectory (test )
83
- endif ()
84
-
85
72
get_directory_property (TARGETS BUILDSYSTEM_TARGETS)
86
73
install (
87
74
TARGETS ${TARGETS}
@@ -99,3 +86,15 @@ set_target_properties(
99
86
SOVERSION "0"
100
87
)
101
88
89
+ if ( BUILD_UNITTESTS )
90
+ if ( NOT EXTERNAL_GTEST )
91
+ include (ExternalProject)
92
+ ExternalProject_Add(gtest
93
+ PREFIX external/gtest
94
+ URL ${CMAKE_CURRENT_SOURCE_DIR} /vendor/gtest
95
+ INSTALL_COMMAND :
96
+ )
97
+ endif ()
98
+ enable_testing ()
99
+ add_subdirectory (test )
100
+ endif ()
You can’t perform that action at this time.
0 commit comments