fix compilation without tests
This commit is contained in:
parent
e886f1597f
commit
161bd19d60
1 changed files with 1 additions and 1 deletions
|
@ -10,11 +10,11 @@ else()
|
|||
endif()
|
||||
|
||||
FILE(GLOB HEADERS ../include/transport/*.h)
|
||||
include_directories(../spectrum/src/frontends/xmpp/)
|
||||
|
||||
if (CPPUNIT_FOUND)
|
||||
FILE(GLOB SRC_TEST tests/*.cpp)
|
||||
FILE(GLOB SRC_TEST_FRONTEND ../spectrum/src/frontends/xmpp/*.cpp)
|
||||
include_directories(../spectrum/src/frontends/xmpp/)
|
||||
|
||||
ADD_EXECUTABLE(libtransport_test ${SRC_TEST} ${SRC_TEST_FRONTEND})
|
||||
set_target_properties(libtransport_test PROPERTIES COMPILE_DEFINITIONS LIBTRANSPORT_TEST=1)
|
||||
|
|
Loading…
Add table
Reference in a new issue