Skip to content
Snippets Groups Projects
Commit 390ef90d authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Explicitly link tests executable with LibXML++2.6.

parent 88d12d07
Branches
No related merge requests found
PROJECT( test )
set(LIBS ${Boost_LIBRARIES})
find_package(LibXML++ REQUIRED QUIET)
include_directories(${LibXML++_INCLUDE_DIRS})
link_directories(${LibXML++_LIBRARY_DIRS})
set(LIBS ${LIBS} ${LibXML++_LIBRARIES})
find_package(ANTLR REQUIRED QUIET)
include_directories(${ANTLR_INCLUDE_DIR})
set(LIBS ${LIBS} ${ANTLR_LIBRARY})
include_directories( ${CMAKE_SOURCE_DIR} )
add_definitions(-DLIBWCCL_TEST_DATA_DIR="${PROJECT_SOURCE_DIR}/")
......@@ -27,7 +38,7 @@ add_executable(tests
varsetter.cpp
)
target_link_libraries ( tests wccl ${Boost_LIBRARIES} antlr)
target_link_libraries ( tests wccl ${LIBS} )
include_directories(${Boost_INCLUDE_DIR})
link_directories(${Boost_LIBRARY_DIRS})
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment