Skip to content
Snippets Groups Projects
Commit dc917aef authored by Johan Andruejol's avatar Johan Andruejol
Browse files

Fix imstkFind.cmake

Ensure that a library is not created multiple times. Otherwise you may get
the following error:
CMake Error at .../iMSTK-build/install/lib/cmake/iMSTK-2.0/modules/imstkFind.cmake:192 (add_library):
  add_library cannot create imported target "g3log" because another target
  with the same name already exists.

or:

CMake Error at .../iMSTK-build/install/lib/cmake/iMSTK-2.0/modules/Findg3log.cmake:17 (target_link_libraries):
  Cannot specify link libraries for target "g3log" which is not built by this
  project.
parent e09ad85e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment