Skip to content

Commit 1171143

Browse files
authored
Update CMakeLists.txt
1 parent fc3a8cf commit 1171143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ CPMFindPackage(
1717
GIT_TAG 098dd0fe07a31618f3c2a9f8727bb01c8c5d61e2
1818
DOWNLOAD_ONLY YES
1919
)
20-
if(tclap_ADDED)
20+
if(tclap_ADDED AND NOT TARGET tclap)
2121
add_library(tclap INTERFACE IMPORTED)
2222
target_include_directories(
2323
tclap SYSTEM INTERFACE ${tclap_SOURCE_DIR}/include

0 commit comments

Comments
 (0)