your executable target_link_libraries
directly list the target project name
target_link_libraries( MyExe SubLib )
Scott
-Original Message-
From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Pietro Paolini
Sent: Friday, February 28, 2020 1:19 AM
To: cmake@cmake.org
Subject: [CMake]
Hi all,
I really cannot say I am an expert with CMake however I have been using
it for a while now, even though mainly by copying and pasting snippet
of code from the web therefore not understanding things properly.
I am working on a project which depends on a libary which is itself
built us