cmake_minimum_required(VERSION 2.8)
project(JniHelpersTest)

file(GLOB libJniHelpersTest_SOURCES *.cpp)
file(GLOB libJniHelpersTest_HEADERS *.h)

include_directories(${CMAKE_SOURCE_DIR}/src/main/cpp)
link_directories(${JNI_LIBRARIES})
add_library(${PROJECT_NAME} SHARED ${libJniHelpersTest_SOURCES} ${libJniHelpersTest_HEADERS})
target_link_libraries(${PROJECT_NAME} JniHelpers)

cmake_minimum_required(VERSION 2.8)
project(JniHelpersTest)

file(GLOB libJniHelpersTest_SOURCES *.cpp)
file(GLOB libJniHelpersTest_HEADERS *.h)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../main/cpp)
link_directories(${JNI_LIBRARIES})
add_library(${PROJECT_NAME} SHARED ${libJniHelpersTest_SOURCES} ${libJniHelpersTest_HEADERS})
target_link_libraries(${PROJECT_NAME} JniHelpers)

Fix relative include path for tests
Fix relative include path for tests

Needed to build when included as a subproject elsewhere.
