tools/corrosion/cmake/CorrosionConfig.cmake.in
branchtransitional_engine
changeset 16021 6a3dc15b78b9
equal deleted inserted replaced
16009:7544a7d7c819 16021:6a3dc15b78b9
       
     1 @PACKAGE_INIT@
       
     2 
       
     3 if (Corrosion_FOUND)
       
     4     return()
       
     5 endif()
       
     6 
       
     7 list(APPEND CMAKE_MODULE_PATH "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_DATADIR@/cmake")
       
     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)