Skip to content

Commit

Permalink
Fixed linux build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ihedvall committed Aug 14, 2023
1 parent a4f7874 commit c7ee3f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ bld/
*.suo
*.user
*.userosscache
*.sln.docstates
*.sln.docstates
TestResults/
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ target_include_directories(mdf PRIVATE ${ZLIB_INCLUDE_DIRS})
target_include_directories(mdf PRIVATE ${EXPAT_INCLUDE_DIRS})

target_compile_definitions(mdf PRIVATE XML_STATIC)

target_link_libraries(mdf ${ZLIB_LIBRARIES} ${EXPAT_LIBRARIES})
set(MDF_PUBLIC_HEADERS
include/mdf/cryptoutil.h
include/mdf/etag.h
Expand Down
1 change: 1 addition & 0 deletions test/TestMDFCMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ find_package(MdfLib REQUIRED)

add_executable(TestMDFCMake ../../docs/mdfreaderexample.cpp)
target_link_libraries(TestMDFCMake Upstream::mdf)

target_include_directories(TestMDFCMake PRIVATE ${MdfLibTargets_INCLUDE_DIR})

0 comments on commit c7ee3f8

Please sign in to comment.