Skip to content

Commit

Permalink
fix libshogun examples' working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed Aug 1, 2013
1 parent 79e442f commit c2a6966
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/undocumented/libshogun/CMakeLists.txt
Expand Up @@ -101,5 +101,7 @@ SET(EXAMPLES
FOREACH(EXAMPLE ${EXAMPLES})
add_executable(${EXAMPLE} ${CMAKE_CURRENT_SOURCE_DIR}/${EXAMPLE}.${EXT_SRC_CPP})
target_link_libraries(${EXAMPLE} shogun)
add_test(libshogun-${EXAMPLE} ${EXAMPLE})
add_test(libshogun-${EXAMPLE} ${CMAKE_CURRENT_BINARY_DIR}/${EXAMPLE})
set_property(TEST libshogun-${EXAMPLE} PROPERTY
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
ENDFOREACH()

0 comments on commit c2a6966

Please sign in to comment.