tools/corrosion/cmake/CorrosionConfig.cmake.in
branchtransitional_engine
changeset 16067 d903f8d2395a
parent 16050 6a3dc15b78b9
equal deleted inserted replaced
16065:7b8d96fc8799 16067:d903f8d2395a
     4     return()
     4     return()
     5 endif()
     5 endif()
     6 
     6 
     7 list(APPEND CMAKE_MODULE_PATH "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_DATADIR@/cmake")
     7 list(APPEND CMAKE_MODULE_PATH "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_DATADIR@/cmake")
     8 
     8 
     9 set(CORROSION_NATIVE_TOOLING_INSTALLED @CORROSION_NATIVE_TOOLING@)
       
    10 if(CORROSION_NATIVE_TOOLING_INSTALLED AND NOT TARGET Corrosion::Generator)
       
    11     add_executable(Corrosion::Generator IMPORTED GLOBAL)
       
    12 
       
    13     set_property(
       
    14         TARGET Corrosion::Generator
       
    15         PROPERTY IMPORTED_LOCATION "@CMAKE_INSTALL_FULL_LIBEXECDIR@/corrosion-generator")
       
    16 endif()
       
    17 
       
    18 include(Corrosion)
     9 include(Corrosion)