Skip to content

Commit

Permalink
Find local xerces with msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
robbr48 committed Oct 23, 2024
1 parent 3d8e855 commit e985296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dependencies/xerces.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if (NOT TARGET xercesc)
set(local_xerces_dir ${CMAKE_CURRENT_LIST_DIR}/xerces)
set(CMAKE_FIND_LIBRARY_PREFIXES lib)
find_library(xercesc NAMES xerces-c PATHS ${local_xerces_dir}/lib)
find_library(xercesc NAMES xerces-c ${CMAKE_STATIC_LIBRARY_PREFIX}xerces-c_3D${CMAKE_STATIC_LIBRARY_SUFFIX} PATHS ${local_xerces_dir}/lib)

#set(CMAKE_FIND_DEBUG_MODE TRUE)
#find_package(xercesc CONFIG PATHS ${local_xerces_dir} NO_DEFAULT_PATH REQUIRED) # Search for local version
Expand Down

0 comments on commit e985296

Please sign in to comment.