Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Oct 31, 2024
1 parent afaa7c0 commit f14ac69
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,18 @@ target_include_directories(fmi4cpp
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_SOURCE_DIR}/external/pugixml"
)

if (FMI4CPP_USE_EXTERNAL_PUGIXML)
target_link_libraries(fmi4cpp
PRIVATE
pugixml::pugixml
)
else ()
target_include_directories(fmi4cpp
PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/external/pugixml"
)
endif ()

if(WIN32)
Expand Down

0 comments on commit f14ac69

Please sign in to comment.