kde-extraapps/kdevplatform/interfaces/tests/CMakeLists.txt
2015-09-07 11:20:00 +03:00

15 lines
No EOL
587 B
CMake

set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
add_definitions(-DKDEVPLATFORMINTERFACES_EXPORT=)
set(foregroundlock_SRC test_foregroundlock.cpp ../foregroundlock.cpp)
kde4_add_test(kdevplatform-foregroundlocktest ${foregroundlock_SRC})
target_link_libraries(kdevplatform-foregroundlocktest ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY})
if( RT_LIBRARY )
target_link_libraries(kdevplatform-foregroundlocktest ${RT_LIBRARY} )
endif( RT_LIBRARY )
if( Threads_FOUND )
target_link_libraries(kdevplatform-foregroundlocktest ${CMAKE_THREAD_LIBS_INIT} )
endif( Threads_FOUND )