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
e187351c5f
CMake
/
Tests
/
RunCMake
/
CMP0051
/
CMP0051-WARN-Dir
/
CMakeLists.txt
2 lines
59 B
CMake
Raw
Normal View
History
Unescape
Escape
cmTarget: Evaluate CMP0026 and CMP0051 in calling context These policies should be checked at the call site that tries to access the LOCATION or SOURCES property, not the directory scope containing the target. Thread the caller context through cmTarget::GetProperty to use for checking the policy setting and emitting a diagnostic with proper backtrace. Extend the RunCMake.CMP0026 and RunCMake.CMP0051 tests with cross-directory cases.
2014-05-09 18:50:29 +04:00
add_library
(
empty2
../empty.cpp
$<
TARGET_OBJECTS:objects
>
)