diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 50a984b..9d08431 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -38,10 +38,11 @@ endif(PSLIB_NOTFOUND GREATER -1) # install(TARGETS poissonsolvergputest DESTINATION bin) - +INCLUDE_DIRECTORIES( + ${CMAKE_PREFIX_PATH}/include +) set(CPP_SOURCE PoissonSolver3DGPUTest.cpp) set(HEADERS PoissonSolver3DGPUTest.h) add_executable(poissonsolvergputest ${CPP_SOURCE} ${PSLIB}) - install(TARGETS poissonsolvergputest DESTINATION bin) diff --git a/example/PoissonSolver3DGPUTest.cpp b/example/PoissonSolver3DGPUTest.cpp index da4aa2b..d645481 100644 --- a/example/PoissonSolver3DGPUTest.cpp +++ b/example/PoissonSolver3DGPUTest.cpp @@ -1,5 +1,7 @@ #include "PoissonSolver3DGPUTest.h" + +// test case test int main() { return 1; diff --git a/example/PoissonSolver3DGPUTest.h b/example/PoissonSolver3DGPUTest.h index 8df4120..2441220 100644 --- a/example/PoissonSolver3DGPUTest.h +++ b/example/PoissonSolver3DGPUTest.h @@ -2,7 +2,7 @@ #define POISSONSOLVERGPU3DGPUTEST_H #include -#include "gpulib/PoissonSolver3DGPU.h" +#include "PoissonSolver3DGPU.h" #endif diff --git a/gpuapp/CMakeLists.txt b/gpuapp/CMakeLists.txt index 1bd1872..7321742 100644 --- a/gpuapp/CMakeLists.txt +++ b/gpuapp/CMakeLists.txt @@ -4,7 +4,3 @@ cuda_add_executable(poissonsolvertest ) target_link_libraries(poissonsolvertest PoissonSolver3DGPU) -INSTALL(FILES PoissonSolver3DGPUTest.cpp PoissonSolver3DGPUTest.h - DESTINATION example) -INSTALL(FILES "${CMAKE_BINARY_DIR}/gpuapp/poissonsolvertest" - DESTINATION example)