fixed target_include_directories for e57.cmake

This commit is contained in:
gabryon99 2021-03-29 15:33:57 +02:00
parent a3d18b02e2
commit a652ee54dc

View File

@ -72,7 +72,7 @@ elseif(ALLOW_BUNDLED_LIBE57_FORMAT)
${E57Format_DIR}/src/E57XmlParser.cpp
${E57Format_DIR}/src/E57XmlParser.h
)
target_include_directories(external-libE57Format SYSTEM PUBLIC "${E57Format_DIR}")
target_include_directories(external-libE57Format SYSTEM PUBLIC "${E57Format_DIR}/include")
target_compile_definitions(external-libE57Format PUBLIC LIBE57_FORMAT_STATIC)
set_property(TARGET external-libE57Format PROPERTY FOLDER External)
target_link_libraries(external-libE57Format PRIVATE external-disable-warnings)