Skip to content

Commit 4a508d6

Browse files
committed
s
1 parent 0220ee6 commit 4a508d6

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

cmake/printInfo.cmake

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,12 @@ message(STATUS "CMAKE_THREAD_LIBS_INIT = ${CMAKE_THREAD_LIBS_INIT}")
8585
message(STATUS)
8686
message(STATUS "USE_BUNDLED_TINYXML2 = ${USE_BUNDLED_TINYXML2}")
8787
if(NOT USE_BUNDLED_TINYXML2)
88-
message(STATUS "tinyxml2_LIBRARIES = ${tinyxml2_LIBRARIES}")
89-
message(STATUS "tinyxml2_INCLUDE_DIRS = ${tinyxml2_INCLUDE_DIRS}")
88+
if(TARGET tinyxml2::tinyxml2)
89+
# TODO: print libraries and include dirs
90+
else()
91+
message(STATUS "tinyxml2_LIBRARIES = ${tinyxml2_LIBRARIES}")
92+
message(STATUS "tinyxml2_INCLUDE_DIRS = ${tinyxml2_INCLUDE_DIRS}")
93+
endif()
9094
endif()
9195
message(STATUS)
9296
message(STATUS "USE_BOOST = ${USE_BOOST}")

0 commit comments

Comments
 (0)