Commit 07ac61a2 authored by jan.koester's avatar jan.koester
Browse files

test

parent 029e92dd
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -27,12 +27,12 @@ find_package_handle_standard_args(INIPARSER
)

# 4. Create the modern IMPORTED target (if found)
# In FindINIPARSER.cmake
if(INIPARSER_FOUND AND NOT TARGET INIPARSER::INIPARSER)
    # The library is typically static, so we use INTERFACE/IMPORTED.
    add_library(iniparser::iniparser INTERFACE IMPORTED)
    # Define the target using the standard uppercase convention
    add_library(INIPARSER::INIPARSER INTERFACE IMPORTED) 
    
    # Add include directories and library path to the target properties
    set_target_properties(iniparser::iniparser PROPERTIES
    set_target_properties(INIPARSER::INIPARSER PROPERTIES
        INTERFACE_INCLUDE_DIRECTORIES "${INIPARSER_INCLUDE_DIR}"
        INTERFACE_LINK_LIBRARIES "${INIPARSER_LIBRARY}"
    )