Skip to content

Commit

Permalink
check for the existance of the target not treat it like a constant, v…
Browse files Browse the repository at this point in the history
…ariable, or a string
  • Loading branch information
white238 committed Jul 13, 2021
1 parent 4b767a0 commit 8ac302b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/conduit_setup_deps.cmake
Expand Up @@ -10,7 +10,7 @@ include(CMakeFindDependencyMacro)
if(UNIX AND NOT APPLE)
# we depend on Threads::Threads in our exported targets
# so we need to bootstrap that here
if(NOT Threads::Threads)
if(NOT TARGET Threads::Threads)
find_package( Threads REQUIRED )
endif()
endif()
Expand Down

0 comments on commit 8ac302b

Please sign in to comment.