2.0.11
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
set(MYX_CMAKE_PACKAGE_VERSION "2.0.10")
|
||||
set(MYX_CMAKE_PACKAGE_VERSION "2.0.11")
|
||||
if(MYX_CMAKE_PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
@ -5,7 +5,7 @@ macro(myx_skip_external_target NAME)
|
||||
get_target_property(__type ${NAME} TYPE)
|
||||
if(__type STREQUAL "INTERFACE_LIBRARY")
|
||||
get_target_property(__sources ${NAME} INTERFACE_SOURCES)
|
||||
foreach(iter ${_sources})
|
||||
foreach(iter ${__sources})
|
||||
string(FIND ${iter} ${CMAKE_BINARY_DIR} __pos)
|
||||
if(__pos EQUAL 0)
|
||||
unset(__type)
|
||||
|
Reference in New Issue
Block a user