Skip to content

Commit

Permalink
add ninja multi fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vrcomputing authored and uwerat committed Dec 21, 2023
1 parent 426e208 commit 06a7845
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/svg2qvg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ if(BUILD_SVG2QVG_STANDALONE)
# TODO fix multi configuration generators
if(CMAKE_GENERATOR MATCHES "Visual Studio.*")
add_definitions("/I${qskinny_AUTOGEN_DIR}/include_\$(Configuration)")
elseif(CMAKE_GENERATOR MATCHES "Ninja Multi.*")
target_include_directories(${target}
PRIVATE
${qskinny_AUTOGEN_DIR}/include_$<CONFIG>)
else()
target_include_directories(${target} PRIVATE ${qskinny_AUTOGEN_DIR}/include)
endif()
Expand Down

0 comments on commit 06a7845

Please sign in to comment.