add_test(NAME stromx_raspi_test COMMAND stromx_raspi_test)
set_tests_properties(stromx_raspi_test PROPERTIES ENVIRONMENT "${TEST_ENVIRONMENT}")

include_directories(
    ${CMAKE_SOURCE_DIR}
    ${CMAKE_BINARY_DIR}
    ${CPPUNIT_INCLUDE_DIR}
    ${Boost_INCLUDE_DIRS}
)

add_executable(stromx_raspi_test
    ../GpioTrigger.cpp
    ../ReadGpio.cpp
    ../Raspi.cpp
    ../RaspiCam.cpp
    ../RaspiStillCam.cpp
    ../WriteGpio.cpp
    ../impl/Gpio.cpp
    ../impl/Utilities.cpp
    //GpioTriggerTest.cpp
    main.cpp
    RaspiCamTest.cpp
    RaspiStillCamTest.cpp
    //ReadGpioTest.cpp
    //WriteGpioTest.cpp
)

set_target_properties(stromx_raspi_test PROPERTIES
    FOLDER "test"
)

target_link_libraries(stromx_raspi_test 
    ${CPPUNIT_LIBRARY}
    ${CMAKE_DL_LIBS}
    ${Boost_LIBRARIES}
    ${CMAKE_THREAD_LIBS_INIT}
    stromx_runtime
    stromx_cvsupport
    vcos
    mmal_core
    mmal_util
    mmal_vc_client
    bcm_host
)

add_test(NAME stromx_raspi_test COMMAND stromx_raspi_test)
set_tests_properties(stromx_raspi_test PROPERTIES ENVIRONMENT "${TEST_ENVIRONMENT}")

include_directories(
    ${CMAKE_SOURCE_DIR}
    ${CMAKE_BINARY_DIR}
    ${CPPUNIT_INCLUDE_DIR}
    ${Boost_INCLUDE_DIRS}
)

add_executable(stromx_raspi_test
    ../GpioTrigger.cpp
    ../ReadGpio.cpp
    ../Raspi.cpp
    ../RaspiCam.cpp
    ../RaspiStillCam.cpp
    ../WriteGpio.cpp
    ../impl/Gpio.cpp
    ../impl/Utilities.cpp
    #GpioTriggerTest.cpp
    main.cpp
    RaspiCamTest.cpp
    RaspiStillCamTest.cpp
    #ReadGpioTest.cpp
    #WriteGpioTest.cpp
)

set_target_properties(stromx_raspi_test PROPERTIES
    FOLDER "test"
)

target_link_libraries(stromx_raspi_test 
    ${CPPUNIT_LIBRARY}
    ${CMAKE_DL_LIBS}
    ${Boost_LIBRARIES}
    ${CMAKE_THREAD_LIBS_INIT}
    stromx_runtime
    stromx_cvsupport
    vcos
    mmal_core
    mmal_util
    mmal_vc_client
    bcm_host
)

Fix cmake syntax of last commit...
Fix cmake syntax of last commit...
