This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check variable return by get_target_property before it's usage (#802)
* CMake's get_target_property might return `<VAR>-NOTFOUND` and hence it should be checked before it's usage * As mentioned in neuronsimulator/nrn/issues/1788, it can result into an error like: => LINKING executable ./special LDFLAGS are: -lreadline -lncurses /users/bp000174/nrn-install/share/nrn/nrnmain.cpp: /usr/bin/ld: cannot find -lCORENRN_LINK_LIBRARIES-NOTFOUND
- Loading branch information