This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
You've already forked CMake
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
f75d936a04
CMake
/
Tests
/
RunCMake
/
target_link_libraries
/
SubDirTarget-result.txt
2 lines
2 B
Plaintext
Raw
Normal View
History
Unescape
Escape
cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626) Since commit v3.3.0-rc1~62^2~5 (cmTarget: Store only cmListFileContext for CMP0023 handling, 2015-05-18) a call to target_link_libraries on a target that was defined in another (non-ancestor) directory crashes because no execution context is left active. Fix this by getting the execution context from the actual cmMakefile where the current target_link_libraries call takes place. Test this by verifying that such calls correctly produce an error diagnostic instead of crashing.
2015-06-23 21:56:47 +03:00
1