From c88846612e4dcff7e7f2f25a7b42c3d82db4aa72 Mon Sep 17 00:00:00 2001 From: boufaras Date: Tue, 25 Oct 2011 13:52:37 +0000 Subject: [PATCH] update CMakeLists git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2514 331e1502-861f-0410-8da2-ba01fb791d7f --- .../tutorial/QAP_GPU/CMakeLists.txt | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/trunk/paradiseo-gpu/tutorial/QAP_GPU/CMakeLists.txt b/trunk/paradiseo-gpu/tutorial/QAP_GPU/CMakeLists.txt index 9f7d648f7..ec85ae2c3 100644 --- a/trunk/paradiseo-gpu/tutorial/QAP_GPU/CMakeLists.txt +++ b/trunk/paradiseo-gpu/tutorial/QAP_GPU/CMakeLists.txt @@ -5,15 +5,15 @@ INCLUDE_DIRECTORIES( # include CUDA source directory - ${CUDA_SRC_DIR} + ${GPU_SRC_DIR} # include EO source directory - ${PARADISEO_EO_SRC_DIR}/src + ${EO_SRC_DIR}/src # include MO source directory - ${PARADISEO_MO_SRC_DIR}/src + ${MO_SRC_DIR}/src # include problems directory - ${PARADISEO_PROBLEMS_SRC_DIR} + ${PROBLEMS_SRC_DIR} # include GPU directory - ${PARADISEO_GPU_SRC_DIR} + ${GPU_SRC_DIR}/src # include your source directory ${CMAKE_CURRENT_SOURCE_DIR}/../src ) @@ -24,7 +24,7 @@ INCLUDE_DIRECTORIES( ### 2) Specify where CMake can find the libraries ###################################################################################### -LINK_DIRECTORIES(${PARADISEO_EO_BIN_DIR}/lib ${CUDA_LIB_DIR} ) +LINK_DIRECTORIES(${EO_BIN_DIR}/lib ${CUDA_DIR}/lib ) ###################################################################################### @@ -36,6 +36,4 @@ CUDA_ADD_EXECUTABLE(GPU_testSimpleHC testSimpleHC.cu) CUDA_ADD_EXECUTABLE(GPU_testSimpleTS testSimpleTS.cu) TARGET_LINK_LIBRARIES(GPU_testSimpleHC eoutils ga eo) -TARGET_LINK_LIBRARIES(GPU_testSimpleTS eoutils ga eo) - - +TARGET_LINK_LIBRARIES(GPU_testSimpleTS eoutils ga eo) \ No newline at end of file