fixed testrunner linking when static linking is used (cmake . -DPOCO_STATIC=1)
This commit is contained in:
Родитель
02161a9f46
Коммит
c2d5c64159
|
@ -15,5 +15,5 @@ set(TESTUNIT "${LIBNAME}-testrunner")
|
|||
|
||||
add_executable( ${TESTUNIT} ${TEST_SRCS} )
|
||||
set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||
target_link_libraries( ${TESTUNIT} PocoCrypto PocoXML PocoUtil PocoFoundation CppUnit pthread)
|
||||
target_link_libraries( ${TESTUNIT} PocoCrypto PocoNetSSL PocoXML PocoUtil PocoFoundation CppUnit pthread)
|
||||
|
||||
|
|
|
@ -21,5 +21,5 @@ set(TESTUNIT "${LIBNAME}-testrunner")
|
|||
|
||||
add_executable( ${TESTUNIT} ${TEST_SRCS} )
|
||||
set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||
target_link_libraries( ${TESTUNIT} PocoData PocoFoundation CppUnit)
|
||||
target_link_libraries( ${TESTUNIT} PocoData PocoUtil PocoXML PocoFoundation CppUnit)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче