diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-09 18:12:57 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-12-09 19:52:52 (GMT) |
commit | 3b8e56a50f7f608f7a93f8ecf23392cc2cda4868 (patch) | |
tree | e3eaf270a2402931430613b57af96c3919868eae /Tests/RunCMake/interface_library/RunCMakeTest.cmake | |
parent | 330af68ed4eca375160b31aefd71bd6ea11b586f (diff) | |
download | CMake-3b8e56a50f7f608f7a93f8ecf23392cc2cda4868.zip CMake-3b8e56a50f7f608f7a93f8ecf23392cc2cda4868.tar.gz CMake-3b8e56a50f7f608f7a93f8ecf23392cc2cda4868.tar.bz2 |
Don't search for IMPORTED_LOCATION of INTERFACE_LIBRARY (14636)
The INTERFACE_LIBRARY type does not have any LOCATION at all, so
return early from GetMappedConfig. GetMappedConfig is called from
two locations, one of which already pre-checks the INTERFACE_LIBRARY
case. Remove that pre-check and handle that case inside the method
instead.
Diffstat (limited to 'Tests/RunCMake/interface_library/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/interface_library/RunCMakeTest.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/interface_library/RunCMakeTest.cmake b/Tests/RunCMake/interface_library/RunCMakeTest.cmake index e257fb3..0d00b71 100644 --- a/Tests/RunCMake/interface_library/RunCMakeTest.cmake +++ b/Tests/RunCMake/interface_library/RunCMakeTest.cmake @@ -4,3 +4,4 @@ run_cmake(invalid_name) run_cmake(target_commands) run_cmake(no_shared_libs) run_cmake(whitelist) +run_cmake(genex_link) |